|
Description
|
If ps cannot map a uid to username, the UID field is output one character too short:
: thewhip; ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 Oct 29 ? 0:11 sched
root 1 0 0 Oct 29 ? 0:01 /sbin/init
root 2 0 0 Oct 29 ? 0:00 pageout
root 3 0 0 Oct 29 ? 23:06 fsflush
root 432 406 0 Oct 29 ? 0:00 /usr/lib/hal/hald-addon-storage
root 7 1 0 Oct 29 ? 0:09 /lib/svc/bin/svc.startd
root 9 1 0 Oct 29 ? 0:27 /lib/svc/bin/svc.configd
0000060 417 1 0 Oct 29 ? 0:00 /usr/lib/xenstored
root 119 1 0 Oct 29 ? 0:06 devfsadmd
dladm 20 1 0 Oct 29 ? 0:00 /sbin/dlmgmtd
root 102 1 0 Oct 29 ? 0:00 /lib/svc/method/iscsid
root 419 406 0 Oct 29 ? 0:00 /usr/lib/hal/hald-addon-network-discovery
|