Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 18:31:35 -0800
From:      sean-freebsd-hackers@chittenden.org
To:        freebsd-hackers@freebsd.org
Subject:   Easy way to compute memory stats? (procfs?)
Message-ID:  <20010319183135.B84536@rand.tgd.net>

next in thread | raw e-mail | index | archive | help

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

	Is there an easy way (from script ideally) to get the following
stats:

free physical mem (avail ram)
free swap
total avail mem

	any two of the three would be great.  If such a beast doesn't
exist, what are the easiest calls to use to get at them so I could
write some programs that would output this info.  -sc

--=20
Sean Chittenden                sean@chittenden.org

--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjq2wQcACgkQn09c7x7d+q0aIgCg1ZbV39PG825qKvL9o0wboMDB
awUAn3Bv+ctInQIjAQJcqBFgAPerKail
=ybAj
-----END PGP SIGNATURE-----

--mxv5cy4qt+RJ9ypb--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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