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 |
groupn |
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 |
Copyright © 2003 O'Reilly & Associates. All rights reserved.