From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 17:41:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC4841065698 for ; Wed, 18 Aug 2010 17:41:57 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE038FC19 for ; Wed, 18 Aug 2010 17:41:56 +0000 (UTC) Received: by ewy26 with SMTP id 26so669948ewy.13 for ; Wed, 18 Aug 2010 10:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=rYSxuxGT9qk/Gltr6C+8FT5SVEKTjA1fTmUdU43jopc=; b=PnB1R1EfqGJXNk+1nSCN7KD3DpH+C8RDsJJrEYmtbgzVuf1DDXPbNEoZvFl4zdKwGE zULQ0eKl3HOAgM/TAgxSU8nqvYIh6BMWmgSu8RqRfOjTbu7+Ruleh1QXAKpAXHcUqdH1 sisgqGR6GtllLlpbZTh7qMylJ58Oc4rPrEyOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=nSZ4qzNTxXUFTJRcO4dB1mrYBBWqv+XadSAYiQ5hhA9X39WAsZbSre7S/QCsXJET63 dpD45KrmM5HX1XAuQuCGJ6nIyB5EEuWMEkEKuaar9EUnHSUPV9shTV/OoMf9PMZWgvx8 ln++FHtZPUPzbmAf3/V0pQgx7W5J0Cd8DKivs= Received: by 10.213.33.72 with SMTP id g8mr632745ebd.10.1282153315020; Wed, 18 Aug 2010 10:41:55 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id v59sm901159eeh.10.2010.08.18.10.41.50 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 10:41:51 -0700 (PDT) Date: Wed, 18 Aug 2010 18:41:48 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100818184148.31442aa9@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: BSD equivalent of Linux's free(1)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 17:41:57 -0000 On Wed, 18 Aug 2010 11:18:58 -0400 Aleksandr Miroslav wrote: > hello, > > I am looking for something on BSD that will give me the same info as > free(1) in Linux. i.e. I would like to know the state of > total/used/free memory and swap. > > I know there are a number of utilities in ports that will let me do > this, I am however looking for something in the base system (if such a > utility exists). > > I also know that top(1) gives this info, and I could certainly use > that, I just wanted the nearest BSD sibling of free(1).) > Is there any particular reason you want to know? Free memory isn't a very meaningful concept in FreeBSD.