Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2010 14:45:03 -0700
From:      Jason <jhelfman@e-e.com>
To:        Mike Jeays <mike.jeays@rogers.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: BSD equivalent of Linux's free(1)?
Message-ID:  <20100818214503.GA96802@eggman.experts-exchange.com>
In-Reply-To: <201008181708.35551.mike.jeays@rogers.com>
References:  <AANLkTikpOE%2BK6iWn38VKT_YiGY119JL5CcBVguMYq9q_@mail.gmail.com> <AANLkTikMyb0YJ6pr2aQdJhtMnb9yg2_vNXa%2BRmcH1nXp@mail.gmail.com> <AANLkTimAziGrKvz_ga4rsUZ2VTr3yhtE7NxRp4Q87Duk@mail.gmail.com> <201008181708.35551.mike.jeays@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 18, 2010 at 05:08:35PM -0400, Mike Jeays thus spake:
>On August 18, 2010 02:06:08 pm Aleksandr Miroslav wrote:
>> on wed, aug 18, 2010 at 1:04 pm, chris maness <chris@chrismaness.com> 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. _______________________________________________
>> 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"
>
>alias free='top -n 1 '  ?!
Even better :) ???

top -n 0|egrep '(Mem|Swap)'|xargs

>--
>http://www.jeays.ca
>http://www.rotarycpmm.ca
>_______________________________________________
>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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100818214503.GA96802>