From owner-freebsd-questions Mon Jul 15 17:40:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F7937B400 for ; Mon, 15 Jul 2002 17:40:45 -0700 (PDT) Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D67343E3B for ; Mon, 15 Jul 2002 17:40:44 -0700 (PDT) (envelope-from smazerski@yahoo.co.jp) Received: from ianb (pD9EB0A53.dip.t-dialin.net [217.235.10.83]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id CAA14222; Tue, 16 Jul 2002 02:40:34 +0200 (MEST) Content-Type: text/plain; charset="iso-8859-1" From: Steve Mazerski To: Dan Nelson Subject: Re: "free" command Date: Tue, 16 Jul 2002 02:42:04 +0200 X-Mailer: KMail [version 1.4] Cc: freebsd-questions@FreeBSD.ORG References: <200207160232.36856.smazerski@yahoo.co.jp> <20020716003339.GC23294@dan.emsphone.com> In-Reply-To: <20020716003339.GC23294@dan.emsphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207160242.04959.smazerski@yahoo.co.jp> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 16 July 2002 02:33, Dan Nelson wrote: > In the last episode (Jul 16), Steve Mazerski said: > > Is there an equivalent to Linux's "free" command in FreeBSD? > > Something that does this: > > > > user@localhost $ free > > total used free shared buffers ca= ched > > Mem: 261672 178912 82760 0 9616 10= 2020 > > -/+ buffers/cache: 67276 194396 > > Swap: 530136 0 530136 > > Lines 4 & 5 of the output from 'top', pretty much. Aha, thanks. There isn't a command which dumps the info to standard output by any chance? I'm considering setting up a webserver with a memory-heavy application and I intend writing a script to monitor memory usage. S.Mazerski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message