method

getpgid

v2_1_10 - 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