Re: top, MAXMEM, sysctl, and missing memory?

2001-03-05 Thread Yoshihiro Koya

Hello, 

From: "Steven G. Kargl" [EMAIL PROTECTED]
Subject: top, MAXMEM, sysctl, and missing memory?
Date: Mon, 5 Mar 2001 11:43:43 -0800 (PST)
Message-ID: [EMAIL PROTECTED]

 However, if I fire up top(1), she reports
 
   Mem: 5390K Active, 5322K Inact, 7627K Wired, 13K Cache, 48M Buf, 76M Free
 
 Simply addition of the numbers from top(1) comes to about 141 MB.
 Looking at top(1) sourcesi shows that she uses the following
 syctl variables:
vm.stats.vm.v_active_count: 5169
vm.stats.vm.v_inactive_count: 5116
vm.stats.vm.v_wire_count: 7550
vm.stats.vm.v_cache_count: 24
vm.stats.vm.v_free_count: 77901
 and the total page_count is
vm.stats.vm.v_page_count: 95760
 which nearly agrees with hw.availpages.
 
 It appears that the recent changes to top(1) to use sysctl
 may have gotten the page size, but I haven't determined
 where to fix her.
 
 So, is the system using all 384 MB of memory or is there
 another kernel config option to set besides MAXMEM.

I also have same problem. The top command does not translate 
the value of page size into KB value maybe. 
Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=25545 

But, I am not sure that it is a complete solution.

koya

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: top, MAXMEM, sysctl, and missing memory?

2001-03-05 Thread Steve Kargl

Yoshihiro Koya wrote:
 
  
  So, is the system using all 384 MB of memory or is there
  another kernel config option to set besides MAXMEM.
 
 I also have same problem. The top command does not translate 
 the value of page size into KB value maybe. 
 Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=25545 
 
 But, I am not sure that it is a complete solution.
 

I think this is the correct solution.

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message