getsid

Process.getsid() â integer
Process.getsid(pid) â integer
Class Public methods

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

Process.getsid()                #=> 27422
Process.getsid(0)               #=> 27422
Process.getsid(Process.pid())   #=> 27422
doc_ruby_on_rails
2015-04-28 21:55:27
Comments
Leave a Comment

Please login to continue.