octave: Process ID Information

 
 36.6 Process, Group, and User IDs
 =================================
 
  -- : pgid = getpgrp ()
      Return the process group id of the current process.
 
  -- : pid = getpid ()
      Return the process id of the current process.
 
      See also: Seegetppid XREFgetppid.
 
  -- : pid = getppid ()
      Return the process id of the parent process.
 
      See also: Seegetpid XREFgetpid.
 
  -- : euid = geteuid ()
      Return the effective user id of the current process.
 
      See also: Seegetuid XREFgetuid.
 
  -- : uid = getuid ()
      Return the real user id of the current process.
 
      See also: Seegeteuid XREFgeteuid.
 
  -- : egid = getegid ()
      Return the effective group id of the current process.
 
      See also: Seegetgid XREFgetgid.
 
  -- : gid = getgid ()
      Return the real group id of the current process.
 
      See also: Seegetegid XREFgetegid.