Operating System - HP-UX
1828932 Members
2593 Online
109986 Solutions
New Discussion

how to check CPU utilization

 
SOLVED
Go to solution
Ahmed_41
Super Advisor

how to check CPU utilization

Dear All,
i would like from time to time to do a command to know the CPU utilization time and also what are the deamons using the most cpu time ?

thanks
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: how to check CPU utilization

Hi,

try
# top
or
# sar 5 5

Best regards,
Robert-Jan
Lee Harris_5
Valued Contributor

Re: how to check CPU utilization

Use the top command.

Regards - Lee
Rick Garland
Honored Contributor

Re: how to check CPU utilization

Can also use the sar command

sar -u 1 10
Check the CPU every second for 10 seconds.

sar -u 5 100
Check the CPU every 5 seconds for 100 seconds

The -u switch to sar is for the CPU


Alzhy
Honored Contributor

Re: how to check CPU utilization

Use "sar" (sar 5 10) as it is universal.

"vmstat" (vmstat 5 10) as it is also universal.

You may also use "top".

If you're running Enterprise OE (ie on an rp8400 or SuperDome).. you have Glanceplus (gpm or "glance -g") or you can use MeasureWare.


Hakuna Matata.