PROCINFO Array
gawk stores information about the current process in an array named PROCINFO. The array contains the following fields:
Field |
Description |
---|---|
egid |
Effective group ID |
euid |
Effective user ID |
FS |
The type of field splitting being used, either FS or FIELDWIDTHS |
gid |
Group ID of the calling process |
group n |
Supplementary user group IDs associated with the process (group1, group2, etc.) |
pgrpid |
Process group ID |
pid |
Process ID |
ppid |
Parent process ID |
uid |
User ID of the calling process |
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.