From owner-freebsd-questions Thu Jun 15 18:31: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 97A8A37B54C for ; Thu, 15 Jun 2000 18:31:05 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp1.patr.hellasnet.gr [212.54.197.16]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id DAA06579; Fri, 16 Jun 2000 03:30:03 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e5H1Keq05974; Sat, 17 Jun 2000 04:20:40 +0300 (EEST) Date: Sat, 17 Jun 2000 04:20:40 +0300 From: Giorgos Keramidas To: Dan Larsson Cc: questions@FreeBSD.ORG Subject: Re: Best tool for displaying used/free memory Message-ID: <20000617042040.C5846@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from dl@tyfon.net on Thu, Jun 15, 2000 at 12:43:48PM +0200 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 15, 2000 at 12:43:48PM +0200, Dan Larsson wrote: > What tool should I use to best get the totals of used and free memory > in an non interactive way (that is not use 'top' or equiv) Top works equally well in a pipe. Try this: % top | grep ^Mem | more -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public key: finger keramida@ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message