showing total/free memory
Matthew Hunt
mph at astro.caltech.edu
Wed Jan 28 13:12:05 PST 2004
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 at astro.caltech.edu> * Clearly there are more things in the
http://www.pobox.com/~mph/ * heavens than anyone anticipated. -enp
More information about the freebsd-questions
mailing list