[5397] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.0F: /bin/ps

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Jul 3 09:06:40 1990

Date: Tue, 3 Jul 90 09:06:28 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		lycus
Type and version:	CVAXSTAR 7.0F
Display type:		SM

What were you trying to do?
	read the output of ps -alx

What's wrong:
	It doesn't deal properly with UID's greater than 999, or flags
with one of the high 4 bits turned on.

      F UID   PID  PPID CP PRI NI ADDR  SZ  RSS WCHAN  STAT TT  TIME COMMAND
10082005509 25790 25787  3  15  0    0 271  101 u      IW   p0  0:04  (csh)

       ^^^^ this field (UID) can be up to 5 digits, yet only 3 spaces
	    are allocated in the standard format.
^^^^^^^ this field occasionally has more bits on, and can be another
	digit longer
What should have happened:
	There should be sufficient room in the output for a reasonable
range of flags and UID's

Please describe any relevant documentation references:
	ps(1)


home help back first fref pref prev next nref lref last post