Home | History | Annotate | Download | only in utils

Lines Matching defs:pid

67 		int pid, ppid, uid = -1, euid = -1;
77 pid = strtol(ent->d_name, NULL, 10);
81 /* Skip our pid so we aren't listed */
82 if (pid == our_pid)
86 snprintf(buf, 32, "/proc/%d/stat", pid);
105 if (pid == 2 || ppid == 2)
108 if (!show_all && pid == 1)
113 capng_setpid(pid);
123 snprintf(buf, 32, "/proc/%d/status", pid);
149 "ppid", "pid", "name", "command",
166 printf("%-5d %-5d %-10s %-16s ", ppid, pid,
169 printf("%-5d %-5d %-10d %-16s ", ppid, pid,