Subject: Re: ps oddity
To: None <ender@macbsd.com, port-mac68k@netbsd.org>
From: Grant Stockly <gussie@stockly.com>
List: port-mac68k
Date: 06/01/1999 19:08:58
This is what I get on a IIci:

Script started on Mon May 31 14:39:31 1999
stockly# ps -aux

USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME COMMAND
root      5477  6.2  0.7    92   292 e0  S+     2:39PM    0:00.29 script
root     28253  4.8  0.5   304   228 p0  Ss     2:39PM    0:00.32 -bin/csh -i
root         0  0.0  0.0     0     0 ??  DLs   21May99    0:04.32 (swapper)
root         1  0.0  0.4   300   172 ??  Is    21May99    0:03.54 /sbin/init
root         2  0.0  0.0     0     0 ??  DL    21May99    0:00.00 (pagedaemon)
root         3  0.0  0.0     0     0 ??  DL    21May99    1:56.17 (update)
root     18566  0.0  0.8    88   348 ??  Is    21May99    1:04.80 syslogd
root     15894  0.0  0.6    68   244 ??  Is    21May99    0:00.09 portmap
root      4939  0.0  0.7    80   304 ??  Is    21May99    0:24.43 inetd
root     29129  0.0  9.9  4592  4464 ??  Is    21May99    2:59.84 dhclient
root      9850  0.0  1.3   436   564 ??  Ss    21May99    3:07.39 httpd
root      3911  0.0  0.5    48   192 ??  Is    21May99    0:47.83
/usr/local/libexec/cucipop -Y
root     12855  0.0  1.5   432   668 ??  Is    21May99    0:28.13 named
root     27769  0.0  0.7   216   324 ??  Is    21May99    0:26.11 cron
root       342  0.0  0.8    88   328 ??  S     21May99    0:44.39
/usr/local/atalk/atalkd
root       784  0.0  0.6    84   264 e0- I     Tue07PM    0:00.32 ./acpb1
root     22701  0.0  0.6   308   236 e0  Ss    Tue10PM    0:02.63 -csh (csh)
root     16596  0.0  0.9   456   380 ??  Ss    Sat06PM    0:34.55 sendmail:
accepting connections on port
www      11819  0.0  1.5   528   684 ??  I      4:36AM    0:01.38 httpd
www       2966  0.0  1.5   528   668 ??  I      9:52AM    0:00.45 httpd
www       8403  0.0  1.5   520   676 ??  I      9:52AM    0:00.38 httpd
www      27355  0.0  1.5   528   684 ??  I      9:53AM    0:00.58 httpd
www      14160  0.0  1.3   468   580 ??  I      9:53AM    0:00.32 httpd
www      18637  0.0  1.5   528   684 ??  I      9:54AM    0:00.53 httpd
www      13786  0.0  1.5   528   680 ??  I     11:32AM    0:00.30 httpd
www      23525  0.0  1.3   468   576 ??  I      1:46PM    0:00.09 httpd
root      6728  0.5  0.6   104   236 e0  S+     2:39PM    0:00.10 script
root     12948  0.0  0.0     0     0 ??  Z      2:39PM    0:00.00 (acpb1)
root      6809  0.0  0.4   252   184 p0  R+     2:39PM    0:00.05 ps -aux
gussie    5788  0.0  0.0     0     0 ??  Z      2:39PM    0:00.00 (cucipop)
stockly# exit

Script done on Mon May 31 14:39:51 1999


>Matthew Navarre wrote:
>> I recently upgraded from 1.3.2 to 1.4 and noticed something odd if I do ps
>> aux. reaper, swapper and pagedaemon all show up as using 583.8 percent of
>> available memory and the RSS field shows 119556 for all three. this seems
>> wrong :).
>>
>> this is on a IIci, 20MB ram, NetBSD 1.4 (SLOTMAN_HWD_NCR) #1400
>>
>> Is this something others are seeing? It dosen't seem to be causing any
>> problems, but is just well kinda weird.
>>
>
>those numbers are completely spurious.  i suppose the m68k ports may not
>have been fixed for this particular problem quite yet...those are kernel
>threads, i think, and that's why they have screwy numbers reported for
>them.
>
>later.
>
>colin