method

getpgrp

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