Operating System - HP-UX
1833711 Members
2308 Online
110063 Solutions
New Discussion

sam memory VS top reported memory

 
SOLVED
Go to solution
David DiBiase
Frequent Advisor

sam memory VS top reported memory

According to SAM, I have 8gig of memory. I need to look at some perfomace statistics and I dont understand how top computes or dispalys what it thinks memory is.

From SAM:





Physical Memory: 8197.3 MB

Real Memory:

Active: 565249.2 KB

Total: 823152.7 KB

Virtual Memory:

Active: 868188.8 KB

Total: 1202618.6 KB

Free Memory Pages: 493036 at 4 KB/page

Swap Space:

Avail: 4096 MB

Used: 829 MB





From top:



Load averages: 0.01, 0.03, 0.04

158 processes: 138 sleeping, 19 running, 1 zombie

Cpu states:

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS

0 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%

1 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%

--- ---- - - - - - - - -----

avg 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%



Memory: 827804K (613612K) real, 1207348K (922288K) virtual, 1969672K free Page#

1/4



4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: sam memory VS top reported memory

David, if you are having some performance issues I would strongly recomend you to install Glance Plus in your server.
You need a license for the software, but you can run it 30 days without a license, and it will give you a clear picture of what is going on in your system.

Regards,

Jaime.
Work hard when the need comes out.
David DiBiase
Frequent Advisor

Re: sam memory VS top reported memory

I do prefer Glance Plus but, my customer sites are reluctant to spend anything. That is why I need to try and interpret the TOP output
Bill Hassell
Honored Contributor

Re: sam memory VS top reported memory

The memory line in top is simply bizarre. The method that it uses to computer the values is so obscure that there's no use in trying to use it's values. You can suggest swapinfo -tam for virtual memory, print_manifest for the rest of the data. If you don't have print_manifest on every system you know about, those systems are at severe risk as print_manifest is part of Ignite/UX which must be standard.

As for the cost of Glance, I have seen at least a dozen sites that spent a week or two developing piecemeal scripts to try to extract the desired data. The cost for all this effort is easily 3x-5x the cost of Glance.


Bill Hassell, sysadmin
David DiBiase
Frequent Advisor

Re: sam memory VS top reported memory


Thanks to all.

My suspicions are confirmed about top. I am going to load the trial of glace plus on the customer machine and try to demonstrate the value and benefits of Glance over top.