Subject: port-macppc/11551: top gives bogus(?) output
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 11/22/2000 14:03:17
>Number:         11551
>Category:       port-macppc
>Synopsis:       top gives bogus output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 22 14:03:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dan McMahill
>Release:        1.5_BETA2<NetBSD-current source date>
>Organization:
NetBSD
>Environment:
	
NetBSD zomby 1.5_BETA2 NetBSD 1.5_BETA2 (GENERIC) #5: Mon Nov  6 20:57:36 PST 2000     matt@duel.local:/other/macppc/kobj/GENERIC macppc


>Description:

top seems to give bogus values for the 'RES' field.

258Mb for AMD?  161Mb for syslogd?


load averages:  1.78,  1.47,  1.55                                                                                                                             17:00:44
27 processes:  26 sleeping, 1 on processor
CPU states:  1.6% user,  0.0% nice,  2.5% system,  0.0% interrupt, 95.9% idle
Memory: 7468K Act, 4144K Inact, 2940K Wired, 1336K Free, 19M Swap, 109M Swap free

  PID USERNAME PRI NICE   SIZE   RES STATE     TIME   WCPU    CPU COMMAND
 5843 dan       -5    0  9284K  462M sleep     0:49  2.05%  2.05% mozilla-bin
 5858 root      28    0   260K 1036K onproc    0:00  0.54%  0.10% top
  188 root      18  -12   728K   15M sleep     0:35  0.00%  0.00% ntpd
  119 root       2    0   108K  399M sleep     0:35  0.00%  0.00% ypbind
  165 root       2    0   412K  258M sleep     0:31  0.00%  0.00% <amd>
  232 root      10    0   240K  110M sleep     0:15  0.00%  0.00% <cron>
  101 root       2    0   100K  161M sleep     0:14  0.00%  0.00% <syslogd>
15786 root       2    0   180K   35M sleep     0:12  0.00%  0.00% <telnetd>
  220 root       2    0   292K 4708K sleep     0:07  0.00%  0.00% <sshd>
  234 root      10    0    60K   40M sleep     0:04  0.00%  0.00% <getty>
15787 root       2    0   180K   16M sleep     0:04  0.00%  0.00% telnetd
15812 root      18    0  1432K   30M sleep     0:03  0.00%  0.00% tcsh
15789 dan       18    0  1188K  848K sleep     0:00  0.00%  0.00% <tcsh>
  235 root      18    0   548K  568K sleep     0:00  0.00%  0.00% <csh>
15805 root      18    0   548K  328K sleep     0:00  0.00%  0.00% <csh>
    1 root      10    0   428K 1752K sleep     0:00  0.00%  0.00% <init>
25352 root       3    0  1220K 3564K sleep     0:00  0.00%  0.00% <tcsh>
15788 dan        3    0  1404K 2704K sleep     0:00  0.00%  0.00% <tcsh>
  114 root       2    0   700K 1204K sleep     0:00  0.00%  0.00% <rpcbind>
  228 root       2    0    96K  904K sleep     0:00  0.00%  0.00% <inetd>
  135 root       2    0   136K  652K sleep     0:00  0.00%  0.00% <mountd>
  200 root       2    0   164K  596K sleep     0:00  0.00%  0.00% <lpd>
  144 root       2    0    72K  580K sleep     0:00  0.00%  0.00% <nfsd>
  149 root       2    0    52K  464K sleep     0:00  0.00%  0.00% nfsd
  147 root       2    0    52K  464K sleep     0:00  0.00%  0.00% nfsd
  146 root       2    0    52K  464K sleep     0:00  0.00%  0.00% nfsd
  148 root       2    0    52K  464K sleep     0:00  0.00%  0.00% nfsd

	
>How-To-Repeat:
run top, note that RES field looks wrong.
	
>Fix:

	
>Release-Note:
>Audit-Trail:
>Unformatted: