SolarisInternals

Categories
OpenSolaris
directiostat
etruss
filebench
filestat
cpustat
mdb
::memstat
memtool
pmap
prstat
ptools
se toolkit
statit
taz
tnf
trapstat
vmstat/memstat
::memstat

New for Solaris 9

MemTools' prtmem command has been integrated into to mdb in Solaris 9, as the ::memstat dcmd.




# mdb -k
Loading modules: [ unix krtld genunix ip ufs_log logindmux ptm cpc sppp ipc random nfs ]
> ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                       4550                35   15%
Anon                        13416               104   44%
Exec and libs                9222                72   30%
Page cache                   2945                23   10%
Free (cachelist)              433                 3    1%
Free (freelist)               114                 0    0%

Total                       30680               239

BTW, if you want this functionallity for Solaris 8, you may copy memory.so into /usr/lib/mdb/kvm/sparcv9, and then using ::load memory prior to running ::memstat.



Browse the book online via Safari

Original Material © 2000-2005 Richard McDougall & Jim Mauro
Last Updated Dec 02 2005 00:21