Summary:Memory statistics

From: Robert K <>
Date: Wed Nov 09 2005 - 15:03:43 EST
My original post
One of the Linux bees says it is very much convenient to grab memory 
statistics in Linux than Solaris and gives the following example.
$ cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  2104586240 1993162752 111423488        0 224419840 1421848576
Swap: 2146787328        0 2146787328
MemTotal:      2055260 kB
MemFree:        108812 kB
MemShared:           0 kB
Buffers:        219160 kB
Cached:        1388524 kB
SwapCached:          0 kB
Active:         693440 kB
ActiveAnon:     218584 kB
I tried to convince him with "prtconf | grep "Memory size" and vmstat's 
used memory in Kbytes. He does not agree and I want to find a better 
way for this. As on now his way looks better because I have to use two 
commands and little mathematics. 
Your help is appreciated. 
Thanks in advance and I will summarize.
Thanks for all your response.
Alan Pae: top and
Coy Hile: mdb -k and issue the ::memstat dcmd 
Horton, William M: memtool and sunvts
Johan: prtconf | grep ^Mem, /usr/platform/`uname -i`/sbin/prtdiag |grep ^Mem,
          sar and vmstat
Peter: kstat utility
Santhakumar, Siva: memconf PERL script
Thanks for all your time and valuable ideas.

Find your next car at Yahoo! Canada Autos
sunmanagers mailing list
Received on Wed Nov 9 15:04:12 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:53 EST