getpgid

Process.getpgid(pid) รข integer
Class Public methods

Returns the process group ID for the given process id. Not available on all platforms.

Process.getpgid(Process.ppid())   #=> 25527
doc_ruby_on_rails
2015-04-28 21:29:50
Comments
Leave a Comment

Please login to continue.