1837896 Members
3918 Online
110122 Solutions
New Discussion

CPU Utilization

 
Edi Simanjuntak
Occasional Contributor

CPU Utilization

Dear All,

I've problem when I want to monitor performance my CPU (HP-UX 10.20). I used command line up time, but I am not sure about the result. Any command line can I use to monitor CPU utilization ?
6 REPLIES 6
Wim Rombauts
Honored Contributor

Re: CPU Utilization

Try "sar -u "

You can also monitor a lot of other things with sar. Look at the manpage.
Stefan Farrelly
Honored Contributor

Re: CPU Utilization


Use sar -uM 1 10

The M option shows cpu utilization per cpu - very handy for multiple cpu systems.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Santosh Nair_1
Honored Contributor

Re: CPU Utilization

I would set up sar to continually gather statistics on the machine through cron. See the man pages for sar and sadc on how to do this.

Other options include Glance Plus Pak (which includes Measureware) and top.

-Santosh
Life is what's happening while you're busy making other plans
ajay kumar rastogi
New Member

Re: CPU Utilization

Hi,
You can use "top" command for this apart from "sar" and "glance".Just do man "sar" and you will get the requisite arguements.

Thanks....
from..ajay
Deshpande Prashant
Honored Contributor

Re: CPU Utilization

Hi
#sar -u; top ; glance commands will help you monitoring system performance.

All these commands give real time performance. You will have to use scripts with above commands to gather data for long period, unless you have measureware product installed and configured on your system.

Thaks.
Prashant.
Take it as it comes.