Process ID Information Next: Environment Variables Previous: Controlling Subprocesses Up: System Utilities
| pgid = getpgrp () | Built-in Function |
| Return the process group id of the current process. |
| pid = getpid () | Built-in Function |
| Return the process id of the current process. |
| pid = getppid () | Built-in Function |
| Return the process id of the parent process. |
| euid = geteuid () | Built-in Function |
| Return the effective user id of the current process. |
| uid = getuid () | Built-in Function |
| Return the real user id of the current process. |
| egid = getegid () | Built-in Function |
| Return the effective group id of the current process. |
| gid = getgid () | Built-in Function |
| Return the real group id of the current process. |