Home
last modified time | relevance | path

Searched refs:pidwidth (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c128 static int pidwidth; variable
187 pidwidth = 1; in ucbmain()
189 ++pidwidth; in ucbmain()
190 pidwidth = pidwidth < 5 ? 5 : pidwidth; in ucbmain()
353 "WCHAN S TT TIME COMMAND", pidwidth + 1, "PID", in ucbmain()
354 pidwidth + 1, "PPID"); in ucbmain()
360 pidwidth + 1, "PID"); in ucbmain()
365 pidwidth + 1, "PID"); in ucbmain()
369 "COMMAND", pidwidth + 1, "PID"); in ucbmain()
372 pidwidth + 1, "PID"); in ucbmain()
[all …]
H A Dps.c289 static int pidwidth; variable
413 pidwidth = 1; in stdmain()
415 ++pidwidth; in stdmain()
416 pidwidth = pidwidth < 5 ? 5 : pidwidth; in stdmain()
418 fname[F_PID].width = fname[F_PPID].width = pidwidth; in stdmain()
419 fname[F_PGID].width = fname[F_SID].width = pidwidth; in stdmain()
850 (void) printf("%*s", pidwidth, "PID"); in stdmain()
852 (void) printf(" %*s", pidwidth, "PPID"); in stdmain()
854 (void) printf(" %*s %*s", pidwidth, "PGID", in stdmain()
855 pidwidth, "SID"); in stdmain()
[all …]