Hi all,

We've forced a system dump from an unresponsive server and found it was out of 
memory :

# mdb unix.0 vmcore.0
Loading modules: [ unix krtld genunix specfs dtrace ufs sd px md ip sctp usba 
fctl nca lofs zfs random ptm cpc fcip nfs ]
> ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                      21676               169    4%
Anon                       480281              3752   92%
Exec and libs                1355                10    0%
Page cache                    123                 0    0%
Free (cachelist)             1988                15    0%
Free (freelist)             14313               111    3%

Total                      519736              4060
Physical                   511620              3997


I am trying to figure out how to sort processes by memory usage.
We could use ::ps and ::pmap , then awk to sum the bits we're interested in, 
but there must be a better way ?

Sorry if this has been covered before, I couldn't find it!

Cheers,

Alex
-- 
This message posted from opensolaris.org

Reply via email to