method

getpgrp

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

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

Process.getpgid(0)   #=> 25527
Process.getpgrp      #=> 25527