Subject: re: PID_MAX and NO_PID
To: David Laight <david@l8s.co.uk>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 12/19/2002 04:07:11
> Patched up (my system has NO_PID = -1 already)...
> I suspect 'top' will explode...
> 'ps' should be ok.
30318 pc S 0:00.02 -ksh
38715 ?? S 0:01.90 xterm -ls -sb +sk -sl 1024 -geometry 80x40
65443 pb S+ 0:01.51 sysstat
102629 p6 R+ 0:00.00 ps -ax
103870 pc S+ 0:09.66 /bin/sh /home/dsl/bin/update
109426 p6 R+ 0:00.00 -sh
123046 pc R+ 0:00.00 ls -ild /oldroot/usr/bsd-current/dest/./usr/share/zonei
Both top and systat seem to use a fixed %5d field for pids,
so the rest of the line is shifted over 1 column.
yes, this is why i wasn't sure that >5 digits would be OK.
.mrg.