Date: Wed, 18 Aug 2010 22:20:31 -0500 From: Depo Catcher <depocatcher@gmail.com> To: Aleksandr Miroslav <alexmiroslav@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: BSD equivalent of Linux's free(1)? Message-ID: <4C6CA2FF.7050706@gmail.com> In-Reply-To: <AANLkTimAziGrKvz_ga4rsUZ2VTr3yhtE7NxRp4Q87Duk@mail.gmail.com> References: <AANLkTikpOE%2BK6iWn38VKT_YiGY119JL5CcBVguMYq9q_@mail.gmail.com> <AANLkTikMyb0YJ6pr2aQdJhtMnb9yg2_vNXa%2BRmcH1nXp@mail.gmail.com> <AANLkTimAziGrKvz_ga4rsUZ2VTr3yhtE7NxRp4Q87Duk@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/18/2010 1:06 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. > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6CA2FF.7050706>