From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 6 13:00:34 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFA6A68C for ; Wed, 6 Aug 2014 13:00:34 +0000 (UTC) Received: from systemdatarecorder.org (mail.systemdatarecorder.org [54.246.96.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "localhost" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AEBA25F2 for ; Wed, 6 Aug 2014 13:00:33 +0000 (UTC) Received: from nereid (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by systemdatarecorder.org (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s76Cvt4V008144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Aug 2014 12:57:56 GMT Date: Wed, 6 Aug 2014 16:00:08 +0300 From: Stefan Parvu To: David Wolfskill 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> Organization: systemdatarecorder.org X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 13:00:34 -0000 > * 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