method

getpgid

v1_8_6_287 - Show latest stable - Class: Process
getpgid(p1)
public

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

   Process.getpgid(Process.ppid())   #=> 25527