Date: Wed, 6 Aug 2014 16:00:08 +0300 From: Stefan Parvu <sparvu@systemdatarecorder.org> To: David Wolfskill <david@catwhisker.org> Cc: freebsd-hackers@freebsd.org Subject: Re: memory utilization questions Message-ID: <20140806160008.40ba39ce85ff59e059a1005e@systemdatarecorder.org> In-Reply-To: <20140806123811.GB1228@albert.catwhisker.org> References: <20140806145314.643dcc34a360f8284083930e@systemdatarecorder.org> <20140806123811.GB1228@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> * Other OIDs: vm.stats.vm.v_active_count, vm.stats.vm.v_inactive_count, > vm.stats.vm.v_wire_count, vm.stats.vm.v_cache_count, > vm.stats.vm.v_free_count; I multiply each of these by the "page_to_kb > factor" determined above (to get results in KB). > > * Another OID: vfs.bufspace; I integer-divide this by 1024 (to get > results in KB), as it seems to be in bytes vs. pages. > > * Correspondence between names as used by top(1) vs. OID: > Active: vm.stats.vm.v_active_count > Inact: vm.stats.vm.v_inactive_count > Wired: vm.stats.vm.v_wire_count > Cache: vm.stats.vm.v_cache_count > Buf: vfs.bufspace > Free: vm.stats.vm.v_free_count super. I need now to do as well the memory stats. Many thanks, -- Stefan Parvu <sparvu@systemdatarecorder.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140806160008.40ba39ce85ff59e059a1005e>