Subject: Re: 1.3_ALPHA (small problem)
To: Nathan Gelbard <gelbard@engr.orst.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 11/07/1997 14:25:18
On Thu, 06 Nov 1997 11:03:54 -0800 
 Nathan Gelbard <gelbard@ENGR.ORST.EDU> wrote:

 > My ps output is funky:
 > 
 > USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
 > root       535  0.0  Inf   252  148 p0  R+   10:56AM    0:00.04 (ps)
 > root         1  0.0  Inf   240  188 ??  Is   10:46AM    0:00.15 (init)
 > root         2  0.0  Inf     0    0 ??  DL   10:46AM    0:00.01 (pagedaemon)
 > root        81  0.0  Inf    72  308 ??  Ss   10:46AM    0:00.37 (syslogd)
 > root        92  0.0  Inf    48  220 ??  Is   10:46AM    0:00.06 (portmap)
 > 
 > (small sample). Whats with the "Inf" in the %MEM col?
 > Also, ps output is really SLOW. 4 lines/sec or so.

Hmm... looks like you have libraries/binaries out of sync w/ kernel?

 > load averages: 64.00, 414.55, 96.01              
 > 25 processes:  1 running, 22 sleeping, 2 stopped
 > CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
 > Memory: 100% Swap
 > 
 >   PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
 >   539 root      28    0   148K  540K run     0:00 -0.00%  0.00% top
 >   203 gelbardn  18    0   324K  252K sleep   0:01  0.00%  0.00% csh
 >   240 root      18    0   316K  236K sleep   0:00  0.00%  0.00% csh
 >   153 root      18    0    20K  128K sleep   0:00  0.00%  0.00% update
 > 
 > My load is about .16 - a load of 64 would KILL a hp380+hpib disks <g>

Yes, you need to use a different module from netbsd10 on 1.3_ALPHA.

Actually, once you've updated the entire system, you should be able
to SUP the pkgsrc collection, and do:

	cd /usr/pkgsrc/sysutils/top
	make && make install

..as root, and the Right Thing will happen.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939