BSD equivalent of Linux's free(1)?
depocatcher at gmail.com
Thu Aug 19 03:20:29 UTC 2010
On 8/18/2010 1:06 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.
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:
Works just like the free linux command; but has fancy colors. :)
Again, you can alias that to free if you want.
More information about the freebsd-questions