OpenSolaris

Printable Version Enter a New Search
Bug ID 6766706
Synopsis ps mis-aligns fields if user is unknown
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:proc
Keywords
Responsible Engineer David Edmondson
Reported Against snv_100
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105)
Related Bugs 6199990
Submit Date 3-November-2008
Last Update Date 17-December-2008
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
Work Around
N/A
Comments
N/A