BSD equivalent of Linux's free(1)?

Jason jhelfman at e-e.com
Wed Aug 18 21:47:28 UTC 2010


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 at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list