Flowdock
method

getsid

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Process
getsid(*args) public

Returns the session ID for the given process id. If not given, return current process sid. Not available on all platforms.

Process.getsid()                #=> 27422
Process.getsid(0)               #=> 27422
Process.getsid(Process.pid())   #=> 27422
Show source
Register or log in to add new notes.