getpid -- returns the program ID.
getpid ()
none
The program ID of the current session of the interpreter.
Gamma> getpid(); 8081 Gamma>
getnid