Lines Matching refs:PID
17 # USAGE: shellsnoop [-hqsv] [-p PID] [-u UID]
22 # -p PID # process ID to snoop
27 # shellsnoop -p 1892 # snoop this PID only
28 # shellsnoop -qp 1892 # watch this PID data only
32 # PID process ID
84 USAGE: shellsnoop [-hqsv] [-p PID] [-u UID]
89 -p PID # process ID to snoop
118 inline int PID = '$pid';
137 printf("%5s %5s %8s %3s %s\n", "PID", "PPID", "CMD", "DIR", "TEXT");
141 * Remember this PID is a shell child
151 OPT_debug == 1 ? printf("PID %d CMD %s started. (%s)\n",
155 /(OPT_pid == 1 && PID != ppid) || (OPT_uid == 1 && UID != uid)/
172 /(OPT_pid == 1 && PID != pid) || (OPT_uid == 1 && UID != uid)/
265 OPT_debug == 1 ? printf("PID %d CMD %s exited. (%s)\n",