1820248 Members
2734 Online
109622 Solutions
New Discussion юеВ

CPU 100% usage

 
Kenn Chen
Advisor

CPU 100% usage

my CPU is 100% usage for 3 hours wihtout drop. any problem ??
Cyber Zen
7 REPLIES 7
Chin Guan
Valued Contributor

Re: CPU 100% usage

Use glance or top command to identify what are the processes using a lot of CPU and kill them if they are not suppose to be running in this system.
Thomas Pohlen
Advisor

Re: CPU 100% usage

What to do if the kill doesnt work ?

newest GR and Pathes are installed. TOC the machine ?
Be patient
Chin Guan
Valued Contributor

Re: CPU 100% usage

TOC is normally for system hang. I don't think it will tell much info regarding high CPU usage.
Paula J Frazer-Campbell
Honored Contributor

Re: CPU 100% usage

Hi

On a busy server the kill command will have to wait its turn and processing power to execute, so "kill does not work" usually means that it has not yet been given cpu time to execute.

By using Top pick up the hight cpu users and renice them down,

renice -n See man renice.

This will slowly bring the loading down.

High CPU usage can be caused by many things so you have to investigate - using tools like - top sar and glance to watch system activity.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Vincenzo Restuccia
Honored Contributor

Re: CPU 100% usage

Identify with top the process (>80%) and stop|start it.
Thomas Pohlen
Advisor

Re: CPU 100% usage

ok, in my systems (K-Class) with HP-UX 10.20, GR from 2000 the systems hangs completely, renice didnt work as well as waiting for the kill command to be executed.

sar, top and glance are available, but when i use them i will see the curent status and not the status just before the system hang.

sometimes i get core files, sometimes not, strange for me...

Thanks Paula, regards

Be patient
Preet Dhillon
Advisor

Re: CPU 100% usage

Wait to see if you can renice the top processes as Paula suggests - if you're forced to TOC the machine, try disabling any automatic startup scripts in /etc/rc2.d and /etc/rc3.d before you issue the TOC. When the system reboots, start your startup scripts manually one at a time and monitor the system load after each one starts. This will help in identifying one or more of your applications which may be the cause of your problem.

Good luck and regards,
Preet
Nothing succeeds like excess