Check Memory Usage, program like 'free' in Linux

Mike Jeays mike.jeays at rogers.com
Thu Nov 3 14:17:59 UTC 2011


On Thu, 3 Nov 2011 10:06:19 -0400
Jon Schipp <jonschipp at gmail.com> wrote:

> On Thu, Nov 3, 2011 at 9:25 AM, Rares Aioanei <bsdlisten at gmail.com> wrote:
> 
> > On 11/03/2011 03:18 PM, Jon Schipp wrote:
> >
> >> Is there a program to check physical memory usage in FreeBSD(using 8.2
> >> RELEASE)?
> >> In vain of 'free' in Linux.
> >>
> >> I know you can check the values with sysctl, I was just checking if anyone
> >> has a "cleaner" option.
> >> I was always curious.
> >>
> >> Thanks
> >> Jon
> >> ______________________________**_________________
> >> freebsd-questions at freebsd.org mailing list
> >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> >> To unsubscribe, send any mail to "freebsd-questions-**
> >> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
> >>
> >>  top?
> >
> 
> Crap, I forgot mention that it needs to be non-interactive, it will be for
> e-mail alerts.
> 
> So that rules out top as for as I know.
> _______________________________________________
> 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"

"top -n 1" followed by grep or awk might do what you want.



More information about the freebsd-questions mailing list