From owner-freebsd-hackers Mon Mar 19 18:32: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 0D57537B732 for ; Mon, 19 Mar 2001 18:32:01 -0800 (PST) (envelope-from sean@mailhost.tgd.net) Received: (qmail 84702 invoked by uid 1001); 20 Mar 2001 02:31:35 -0000 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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