Operating System - HP-UX
1752277 Members
4650 Online
108786 Solutions
New Discussion юеВ

vmstat analyser and how to check the memory utilisation

 
apple
Super Advisor

vmstat analyser and how to check the memory utilisation

Dear HPUX gurus,
would like to seek your advice. Im turning the vmstat capturing. Is there is a tool that can automatically analyse the output for me. If i want to read manually,how to get the memory utilisation? can u help based on the below utilisation as a sample. If let say like below, how do u read the memory utilisation.
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 m1 m2 m2 in sy cs us sy id
0 0 0 10989384 2863176 15 7 86 0 0 0 0 1 1 1 1 451 722 787 4 2 95
0 0 0 10885632 2777624 6 7 0 0 0 0 0 1 1 1 1 417 558 769 1 2 97
0 0 0 10885608 2778376 6 6 0 1 1 0 0 0 2 0 2 428 581 782 3 2 95

If I want to know the io from the server, can I use sar or vmstat or I need to turn on the iostat?

Im a newbie.Many many thanks for your advice and reply. Thank you
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: vmstat analyser and how to check the memory utilisation

The quickest and easiest metric available from vmstat is in the "po" column. As long as that remains 0, you are not paging and your memory is adequate. As the number starts rising above 0, your performance will begin to degrade. Once the number gets above 10, you have a real problem.


Pete

Pete
Michael Steele_2
Honored Contributor

Re: vmstat analyser and how to check the memory utilisation

HI

'vmstat' is a Berkeley Unix developed utility and has not be reliable on HP-UX since the migration to ATT Unix at version 10.0. As Pete indicated, 'po', is the only valid metric.

Instead try ps -o and UNIX95.

UNIX95=1 ps -ef -o vsz,ppid,pid,comm

You will many thread here in the forum about others using UNIX95.
Support Fatherhood - Stop Family Law
Raj D.
Honored Contributor

Re: vmstat analyser and how to check the memory utilisation

apple,
You can check more detial memory usage with kmeminfo,
You have to download the tool, dependig on the os version.

check thisout: there is a attachment for 11iv1.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=1048211


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "