[ug-bosug] What is the equivalent of "free -m" in Nevada?
Pramod Batni
pramod.batni at gmail.com
Mon Jan 28 07:11:31 PST 2008
There is a 'mdb' dcmd which shows the memory usage.
# echo "::memstat" | mdb -k #you need to be root
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 10999 85 4%
Anon 49737 388 19%
Exec and libs 14201 110 5%
Page cache 31002 242 12%
Free (cachelist) 16710 130 6%
Free (freelist) 136530 1066 53%
Total 259179 2024
Physical 255344 1994
In the above output, memory consumed by kernel, Anon, Exec & Libs and Page cache
is used memory. Roughly, Kernel, Exec & Libs and Page Cache would be
shared memory.
As Brian mentioned 'vmstat'/swap tells you about the swap space available.
On Jan 28, 2008 2:40 PM, Manish Chakravarty <manishchaks at gmail.com> wrote:
> Pramod,
>
>
> > What is the command supposed to do?
> > Can you paste the sample output.
> >
> > The above information would be useful to help determine the equivalent
> > Solaris command.
> >
>
> the output on my system is:
> total used free shared buffers cached
> Mem: 2006 1716 289 0 315 693
> -/+ buffers/cache: 707 1298
> Swap: 1906 0 1906
>
>
More information about the ug-bosug
mailing list