Summary:Memory statistics
Robert K
unixrobert at yahoo.ca
Wed Nov 9 15:03:43 EST 2005
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.
Robert
Thanks for all your response.
Alan Pae: top and suninternals.com
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.
Rob
---------------------------------
Find your next car at Yahoo! Canada Autos
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
More information about the summaries
mailing list