Subject: Re: Normal Memory Usage?
To: brendan burns , <port-mac68k@netbsd.org>
From: Mail List <landruslists@yahoo.com>
List: port-mac68k
Date: 03/28/2001 14:27:37
Here is my top message, (IIci, 8 1meg simms, 1.4.2 NetBSD, 250meg HD, 16meg
swap)  Seems low on memory here also.

load averages:  0.16,  0.14,  0.09
14:22:00
20 processes:  1 running, 19 sleeping
CPU states:  2.4% user,  0.0% nice,  0.0% system,  0.0% interrupt, 97.6%
idle
Memory: 2172K Act, 1224K Inact, 240K Wired, 864K Free, 4192K Swap, 12M Swap
free

  PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
 7766 root      28    0   252K  732K run     0:06  1.95%  1.95% top
  165 root      18    0    20K   80K sleep   5:09  0.00%  0.00% update
  181 root       2    0   652K  288K sleep   3:10  0.00%  0.00% httpd
  666 root      10    0   576K  180K sleep   2:15  0.00%  0.00% ipmon
  105 root       2    0   384K  248K sleep   1:15  0.00%  0.00% dhclient
  135 root       2    0    92K  284K sleep   0:57  0.00%  0.00% syslogd
 7372 user       2    0  1824K  452K sleep   0:46  0.00%  0.00% lynx
  175 root       2    0   296K    0K sleep   0:46  0.00%  0.00% <sshd1>
  193 nobody     2    0   720K    0K sleep   0:36  0.00%  0.00% <httpd>
  183 nobody     2    0   724K    0K sleep   0:29  0.00%  0.00% <httpd>
  167 root      10    0   268K  252K sleep   0:25  0.00%  0.00% cron
  170 root       2    0   268K    0K sleep   0:19  0.00%  0.00% <dhcpd>
 6444 root       2    0   124K    0K sleep   0:09  0.00%  0.00% <telnetd>
 6445 user      18    0   532K    0K sleep   0:05  0.00%  0.00% <tcsh>
    1 root      10    0   240K    0K sleep   0:05  0.00%  0.00% <init>
 7757 user      18    0   528K    0K sleep   0:03  0.00%  0.00% <tcsh>
 7763 root      18    0   496K    0K sleep   0:02  0.00%  0.00% <tcsh>
 7756 root       2    0   124K  444K sleep   0:02  0.00%  0.00% telnetd


> From: brendan burns <bburns@wso.williams.edu>
> Date: Wed, 28 Mar 2001 00:03:47 -0500 (EST)
> To: port-mac68k@netbsd.org
> Subject: Normal Memory Usage?
> 
> Folks, doing a "top" recently I noticed the following:
> 
> load averages:  1.46,  2.20,  1.87    23:59:30
> 27 processes:  26 sleeping, 1 on processor
> 
> Memory: 19M Act, 10M Inact, 288K Wired, 1460K Free, 5488K Swap, 44M Swap
> free
> 
> 
> PID USERNAME PRI NICE   SIZE   RES STATE     TIME   WCPU    CPU COMMAND
> 569 root      33    0   132K  680K onproc    0:00 16.00%  0.78% top
> 396 root       2    0   280K  408K sleep     0:29  0.29%  0.29% sshd
> 401 root      10    0   560K  672K sleep     0:03  0.22%  0.05% bash
> 192 root       2    0   244K    0K sleep     0:58  0.00%  0.00% <sshd>
> 398 root      18    0   408K    0K sleep     0:01  0.00%  0.00% <csh>
> 98 root       2    0    92K  312K sleep     0:01  0.00%  0.00% syslogd
> 407 root       2    0   896K  244K sleep     0:01  0.00%  0.00% httpd
> 197 root      18    0  4096M    0K sleep     0:00  0.00%  0.00% <inetd>
> 200 root      10    0  4096M  256K sleep     0:00  0.00%  0.00% cron
> 397 brendan   10    0   532K    0K sleep     0:00  0.00%  0.00% <bash>
> 1 root      10    0   296K    0K sleep     0:00  0.00%  0.00% <init>
> 202 root       3    0    48K    0K sleep     0:00  0.00%  0.00% <getty>
> 458 pgsql      2    0  1380K  476K sleep     0:00  0.00%  0.00% postgres
> 146 root       2    0  4096M  172K sleep     0:00  0.00%  0.00% nfsd
> 147 root       2    0  4096M  172K sleep     0:00  0.00%  0.00% nfsd
> 145 root       2    0  4096M  172K sleep     0:00  0.00%  0.00% nfsd
> 144 root       2    0  4096M  172K sleep     0:00  0.00%  0.00% nfsd
> 132 root       2    0  4096M    0K sleep     0:00  0.00%  0.00% <mountd>
> 
> Notice that a) there are four nfsds running and they as well as inetd and
> cron each have 4096M of memory (very little of which they are using)  Is
> this normal?  Not that "top" lists avail memory as 1460k.  This is on a
> Quadra 650 (040) with 40 megs of ram...
> 
> Thanks,
> Brendan