Home | History | Annotate | Download | only in procrank

Lines Matching refs:cmdline

125     char cmdline[256]; // this must be within the range of int
223 printf("%5s %7s %7s %7s %s\n", "PID", "WRss", "WPss", "WUss", "cmdline");
225 printf("%5s %7s %7s %7s %7s %s\n", "PID", "Vss", "Rss", "Pss", "Uss", "cmdline");
231 if (getprocname(procs[i]->pid, cmdline, (int)sizeof(cmdline)) < 0) {
249 cmdline
258 cmdline
308 * 1 on failure to create string to examine proc cmdline entry
309 * 2 on failure to open proc cmdline entry
310 * 3 on failure to read proc cmdline entry
322 if (asprintf(&filename, "/proc/%zd/cmdline", pid) < 0) {