Lines Matching refs:cmdline
119 char cmdline[256]; // this must be within the range of int
217 printf("%5s %7s %7s %7s %s\n", "PID", "WRss", "WPss", "WUss", "cmdline");
219 printf("%5s %7s %7s %7s %7s %s\n", "PID", "Vss", "Rss", "Pss", "Uss", "cmdline");
225 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) {
243 cmdline
252 cmdline
302 * 1 on failure to create string to examine proc cmdline entry
303 * 2 on failure to open proc cmdline entry
304 * 3 on failure to read proc cmdline entry
316 if (asprintf(&filename, "/proc/%zd/cmdline", pid) < 0) {