method

pid

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

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

Process.pid   #=> 27415