From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 03:20:29 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 9AFA41065670 for ; Thu, 19 Aug 2010 03:20:29 +0000 (UTC) (envelope-from depocatcher@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5A41E8FC15 for ; Thu, 19 Aug 2010 03:20:29 +0000 (UTC) Received: by iwn36 with SMTP id 36so1550623iwn.13 for ; Wed, 18 Aug 2010 20:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=04S1VRoPu/COqze6b5kA/5G+dTKkGcJKGagt4GwmR4o=; b=RHAtAsXzksfggVrxOVlE6uPgYyjgz6mM7berkPJys9l2kmhzrgJkXKjYIbSZdqmyuI xsQNgb3Z2S9dmn0m3BJmVwfL2M11/NfhHHu5lBAJyqBWLHPPDEvV3biGdz3DB+sodwFh 3GH5F2s8PpQ0cHjPrxjFG0aQouVNfG3co6Eus= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=N/Tz0qhMoSsAENSsiGOlVKLToViaO7zveAkCQ/z91xaoTDhbCG11tEv0yG7VcpETOf NA0UPwyaCPf5C99j+ounCwiZm5arWtsIFgrE2h2STRbavZCeDqQHdsbm02+hF2AhpYC/ CXfZRIlhh9JDo8rYZutrdLZnL8Lh5ni+wL9RE= Received: by 10.231.183.149 with SMTP id cg21mr2000806ibb.133.1282188028725; Wed, 18 Aug 2010 20:20:28 -0700 (PDT) Received: from [192.168.17.10] (c-98-240-166-249.hsd1.mn.comcast.net [98.240.166.249]) by mx.google.com with ESMTPS id e8sm883761ibb.14.2010.08.18.20.20.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 20:20:27 -0700 (PDT) Message-ID: <4C6CA2FF.7050706@gmail.com> Date: Wed, 18 Aug 2010 22:20:31 -0500 From: Depo Catcher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Aleksandr Miroslav References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: BSD equivalent of Linux's free(1)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: depocatcher@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 03:20:29 -0000 On 8/18/2010 1:06 PM, Aleksandr Miroslav wrote: > on wed, aug 18, 2010 at 1:04 pm, chris maness wrote: >> Would not the info displayed in the command "top" suffice? > Yes, "top -n 1" does (sort of) display the info I need. > > The swap portion gives me the same info as Linux free, the memory > portion is more cryptic, I guess due to differences in how FreeBSD > allocates memory. > > Although a BSD free would probably be easier to remember, top -n 1 does the job. > You could create a shell alias for it. In bash: a alias free='top -n 1' put that in your profile so you have it on login. Also there is a port: /usr/ports/sysutils/freecolor Works just like the free linux command; but has fancy colors. :) Again, you can alias that to free if you want.