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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access