From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 13:12:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D80BC16A4CE for ; Wed, 28 Jan 2004 13:12:04 -0800 (PST) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE8B543D45 for ; Wed, 28 Jan 2004 13:12:03 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.10/8.12.9) with ESMTP id i0SLBsxl040277; Wed, 28 Jan 2004 13:11:54 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.10/8.12.10/Submit) id i0SLBsm8040276; Wed, 28 Jan 2004 13:11:54 -0800 (PST) (envelope-from mph) Date: Wed, 28 Jan 2004 13:11:53 -0800 From: Matthew Hunt To: Rowdy Message-ID: <20040128211153.GA40209@wopr.caltech.edu> References: <401823B2.7050400@fielden.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <401823B2.7050400@fielden.com.au> User-Agent: Mutt/1.5.1i cc: freebsd-questions@freebsd.org Subject: Re: showing total/free memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 21:12:05 -0000 On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: > I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot > and the output from `top -b -d 1` to get total and free memory > respectively, but I hope there is an easier way. Try "vmstat" instead. -- Matthew Hunt * Clearly there are more things in the http://www.pobox.com/~mph/ * heavens than anyone anticipated. -enp