[4310] in Athena Bugs
/bin/ps
daemon@ATHENA.MIT.EDU (John Carr)
Mon Feb 26 06:02:15 1990
To: bugs@ATHENA.MIT.EDU
Date: Mon, 26 Feb 90 06:01:49 EST
From: John Carr <jfc@ATHENA.MIT.EDU>
RT 6.4R
ps expects a uid to be no longer than 4 characters. When the uid is >=
10000 all fields following it are right shifted one character:
(this is from a wide listing; the problem is present in the 80 column output
as well)
F UID PID PPID CP PRI NI ADDR SZ RSS WCHAN STAT TT TIME COMMAND
1000000 0 12890 136 0 1 0 1243 42 0 RW ? 0:00 ()
1408000 0 12891 12890 24 5 0 1243 128 0 proc IW ? 0:00 ()
100820010572 12893 12891 0 15 0 5aa 210 0 u IW ? 0:00 ()
Someone should decide which other field should have a column subtracted to
make room for the uid. Possibly two columns should be added to the uid, as
there should be a space between it and the flags field.
--John Carr