From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 15:55:26 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 A7C1C1065742 for ; Wed, 18 Aug 2010 15:55:26 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg20.ifdnrg.com (outbound.ifdnrg.com [195.66.148.241]) by mx1.freebsd.org (Postfix) with ESMTP id 4C1698FC14 for ; Wed, 18 Aug 2010 15:55:25 +0000 (UTC) Received: from [192.168.1.131] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg20.ifdnrg.com (8.14.4/8.14.3) with ESMTP id o7IFtOnf069998; Wed, 18 Aug 2010 16:55:24 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4C6C0263.7010000@ifdnrg.com> Date: Wed, 18 Aug 2010 16:55:15 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 15:55:26 -0000 On 18/08/2010 16:18, 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).) > > Thank you! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ralf engelschall wrote a nice perl script which does this http://people.freebsd.org/~rse/dist/ (the free-memory script) Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA -------------------------