Date: Tue, 23 Apr 2002 14:26:29 -0700 From: Erin Fortenberry <efortenb@sdccd.cc.ca.us> To: questions@FreeBSD.ORG Subject: Calculating memory in FreeBSD. Message-ID: <BBDEEDD2EB67D311A0240008C74B93453A9108@ntxmidcity.sdccd.cc.ca.us>
next in thread | raw e-mail | index | archive | help
I am trying to calculate total memory in FreeBSD. I know of the five basic memory states, but I always seem to be missing between 3MB and 15MB. The memory info I am getting is from sysctl and; vm.stats.vm.v_inactive_count vm.stats.vm.v_cache_count vm.stats.vm.v_free_count vm.stats.vm.v_page_size vm.stats.vm.v_page_count Right now on a machine with 768MB of RAM I am showing 752.71MB using (vm.stats.vm.v_page_count + vm.stats.vm.v_page_size). Can someone tell me what I am missing? Might this have something to do with vm.stats.vm.v_cache_count? Thanks, Erin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBDEEDD2EB67D311A0240008C74B93453A9108>