Lost memory?

From: Galama, Dagmar (Dagmar.Galama@atosorigin.com)
Date: Fri Nov 29 2002 - 09:26:13 EST


Hi all,

If have an interesting (I think), performance related question.
In the company where I work, we have a separate group that specializes in
perfomance management for all servers we manage. To do this, they use
HP-tools (measureware, GlancePlus). Here is what they found on two of our
SUN-boxes, and which puzzles me:

Output of top on box1 (SF6800, Solaris 8):
Memory: 16G real, 10G free, 4211M swap in use, 17G swap free

Now, if I add up all memorypages I find with ps -eafl, I get a total of used
memory of 6Gb, exactly what I expect, since 16Gb-10Gb is 6 Gb

If I do the same on another box (E450, Solaris 5.6):
Memory: 4096M real, 131M free, 171M swap in use, 3925M swap free

I find that only 695Mb is in use. (I expect 3965Gb)

So my questions:
Why do the standard Unix-tools (vmstat) report values that do not add up
corectly?
Is there a difference in behaviour of pseudo-swap on 5.6 and Solaris 8?

By the way: this is what vmstat looks like on the "lost-memory" box:
# vmstat
 procs memory page disk faults cpu
 r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy
id
 0 0 0 1736 768 0 0 0 0 0 0 0 0 0 0 0 4294967196 0 0 -12
-11 -401

Nice Idle-time!!!!

greetings,

Dagmar Galama

___________________________________________
Atos Origin Nederland BV MS IMS-SMS Unix NL
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:22 EDT