1826319 Members
3670 Online
109692 Solutions
New Discussion

Re: CPU usage

 
Dong Chuanyin
New Member

CPU usage

Hi Friends,

I'd be a great help if you could tell me:

1. What command can get the usage of each processors
runing HP-UX 10.20.
2. Where I can find man-page for HP-UX 10.20

Sincerely
Chuanyin Dong
3 REPLIES 3
Kyle Links
New Member

Re: CPU usage

You can use the "top" command to display processor usage for each cpu (sample
output below).

Cpu states:
CPU LOAD USER NICE SYS IDLE
0 0.11 3.7% 0.0% 1.8% 94.5%
1 0.15 3.2% 0.0% 1.4% 95.5%
--- ---- - - - - - - - -----
avg 0.13 3.6% 0.0% 1.6% 94.9%

There is a man page for top. Someone else will need to assist with the loading
of man pages if you don't already have them installed.
---Kyle
Randy Mather
Frequent Advisor

Re: CPU usage

You can also use "sar -M"
ie: sar -M 5 5 will give you 5 measurements at 5 sec
intervals.
Steve White_8
Frequent Advisor

Re: CPU usage

Hi,

I would type sar -M 5 5, the output might help if you find the %wio is high.
The other utilities do not take into consideration %wio. The %wio can mean that
you have a disk bottle neck rather than the processor.