memory usage displsy
Dan Nelson
dnelson at allantgroup.com
Tue Sep 1 20:41:49 UTC 2009
In the last episode (Sep 01), Bill Moran said:
> In response to Per olof Ljungmark <peo at intersonic.se>:
> > What is a good way to find out how memory is used? Have a 6.4 box where
> > memory is used by something but I fail to see what is using it - tried
> > different switches to ps(1), tried the stat tools but a big chunk of
> > memory does not show at all.
> >
> > A proper tool for analyzing memory usage "live", this is a production
> > box?
>
> I've always been able to get what I need from top. You can do -o res to
> sort by resident memory usage, which helps.
ps will sort by memory usage when given the -m flag. Also check ipcs -a to
see if there are any sysv shared memory segments hanging arnound. If you
don't see anything using the memory, where are you seeing that "something"
is using it?
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list