Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2004 13:11:53 -0800
From:      Matthew Hunt <mph@astro.caltech.edu>
To:        Rowdy <david@fielden.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: showing total/free memory
Message-ID:  <20040128211153.GA40209@wopr.caltech.edu>
In-Reply-To: <401823B2.7050400@fielden.com.au>
References:  <401823B2.7050400@fielden.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@astro.caltech.edu> * Clearly there are more things in the
http://www.pobox.com/~mph/           * heavens than anyone anticipated. -enp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040128211153.GA40209>