method

pid

v2_2_9 - Show latest stable - Class: Process
pid()
public

Returns the process id of this process. Not available on all platforms.

Process.pid   #=> 27415