cancel
Showing results for 
Search instead for 
Did you mean: 

CPU usage is high !!!!1

gany59
Regular Advisor

CPU usage is high !!!!1

Hi


How i come to know that CPU usage is high..
top command is below,
Load averages: 5.03, 5.33, 4.46
494 processes: 433 sleeping, 60 running, 1 zombie
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
5.03 84.2%0.0% 15.8% 0.0% 0.0% 0.0% 0.0% 0.0%

Memory: 1027000K (493992K) real, 2042936K (1168340K) virtual, 277976K free Page# 1/23

TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
? 14739 jengel 236 20 5316K 1236K run 1717:02 63.76 63.65 mtwo
? 14725 root 154 20 1820K 232K sleep 652:59 24.29 24.25 tail
pts/ty 1641 onrm1 154 20 13632K 5044K sleep 0:00 2.73 0.99 cvhfwr

could anybody tell the clear picture.
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: CPU usage is high !!!!1

Shalom,

Need more information:

http://www.hpux.ws/?p=8

This lists high memory processes you pick the number.

0% idle is not terrible, but could be a problem if its constant.

Performance collection suite:
http://www.hpux.ws/?p=6

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: CPU usage is high !!!!1

These 2 processes appear to be using the majority of your CPU:

? 14739 jengel 236 20 5316K 1236K run 1717:02 63.76 63.65 mtwo
? 14725 root 154 20 1820K 232K sleep 652:59 24.29 24.25 tail

The user jengel is running something called 'mtwo' and root is running a 'tail' on something.
Vishu
Trusted Contributor

Re: CPU usage is high !!!!1

Hi gany59,

0% in idle column tells that there is full CPU usage is going on the server. and the process which is taking the maximum usage will come on the top followed by the comparatively lesser and so on.

You can also use SAR command to find if CPU usage is full or not.

# sar -u 5 5
Ganesan R
Honored Contributor

Re: CPU usage is high !!!!1

Hi Gany,

Look at the "IDLE" column in top output which shows % of cpu resources available idle. If it is 0% cpu load is high and no cpu resources are available. It also shows the top cpu resource consumed process.

You can also use sar or glance to see the cpu utilisation.
Best wishes,

Ganesh.
s.raju
Advisor

Re: CPU usage is high !!!!1

Hi As per your query...
Load averages: 5.03, 5.33, 4.46
494 processes: 433 sleeping, 60 running, 1 zombie
Cpu states:
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
5.03 84.2%0.0% 15.8% 0.0% 0.0% 0.0% 0.0% 0.0%


Here load averages are now 5 min back and 15 min back..
then as per cpu stat 84% used by users and 16% used by system.. so cpu consumption is high as u can see that idle is just 0%..

remaining are how many process are running and what is memory size and used by system now...

Sri