Date: Tue, 06 Mar 2001 04:58:49 +0900 From: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> To: kargl@troutmask.apl.washington.edu Cc: freebsd-current@freebsd.org Subject: Re: top, MAXMEM, sysctl, and missing memory? Message-ID: <20010306045849A.ipfw@ya3.so-net.ne.jp> In-Reply-To: <200103051943.f25JhhK01196@troutmask.apl.washington.edu> References: <200103051943.f25JhhK01196@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Subject: top, MAXMEM, sysctl, and missing memory? Date: Mon, 5 Mar 2001 11:43:43 -0800 (PST) Message-ID: <200103051943.f25JhhK01196@troutmask.apl.washington.edu> > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010306045849A.ipfw>