Subject: ps broken in 1.4_BETA ?
To: None <port-i386@netbsd.org>
From: Mike Cheponis <mac@Wireless.Com>
List: port-i386
Date: 04/30/1999 21:32:43
Here's what I see on my 486 system when I do ps -aux
$ ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 194 1.0 4.1 828 648 p0 S 4:20PM 0:17.71 bash
root 1 0.0 0.0 312 4 ?? IWs 4:04PM 0:00.49 init
root 2 0.0 -551.3 0 -88216 ?? DL 4:04PM 0:04.39 (pagedaemon)
root 3 0.0 -551.3 0 -88216 ?? DL 4:04PM 0:20.01 (reaper)
root 123 0.0 1.9 96 296 ?? Ss 4:04PM 0:01.90 syslogd
root 127 0.0 0.0 52 4 ?? IWs 4:04PM 0:00.66 portmap -l
root 154 0.0 0.7 16 104 ?? Is 4:04PM 0:14.11 update 30
root 156 0.0 1.8 288 276 ?? Is 4:04PM 0:01.65 cron
root 159 0.0 0.0 88 4 ?? IWs 4:04PM 0:00.51 inetd -l
root 171 0.0 0.0 48 4 E0 IWs+ 4:04PM 0:00.15 /usr/libexec/ge
root 172 0.0 0.9 52 132 ?? I 4:04PM 0:00.57 /usr/libexec/ge
root 173 0.0 0.9 52 132 ?? I 4:04PM 0:00.62 /usr/libexec/ge
root 174 0.0 0.9 52 132 ?? I 4:04PM 0:00.70 /usr/libexec/ge
root 177 0.4 1.3 144 204 ?? S 4:06PM 0:21.19 telnetd
mac 178 0.0 0.0 788 4 p0 IWs 4:06PM 0:01.21 -bash
root 190 0.0 0.0 400 4 p0 IW 4:20PM 0:00.57 -csh
root 0 0.0 -551.3 0 -88216 ?? DLs 4:04PM 0:00.37 (swapper)
root 25941 0.0 1.1 352 168 p0 R+ 9:22PM 0:00.11 ps -aux
The %MEM, VSZ, RSS etc. columns look wrong for pagedaemon, reaper, and swapper.
(As a general rule, perhaps "unsigned" types should be used for quantities
that can never be negative?)
-Mike