cancel
Showing results for 
Search instead for 
Did you mean: 

CPU usage reaches 100%

SOLVED
Go to solution
Deanna Tran_1
Frequent Advisor

CPU usage reaches 100%

I don't know how all the suddent the CPU usage reaches that high...is there a way I can lower this ?
9 REPLIES
steven Burgess_2
Honored Contributor
Solution

Re: CPU usage reaches 100%

Deanna

There is no real harm on your CPU usage being 100%. Processes will take as much is available. You have issues when your users start complaining about slow performance.

What does your load look like ?

See this from 'top' command

Have a look at

sar -u 2 10

You will be able to see at a percentage level who is using the most, either user or system. If you have a healthy balance between the two then theres not much to worry about.

You can also see processes via pid using glance

option c - CPU report

I have attached a doc for you to look at which will go through other areas regarding performance and tuning to give you a better understanding

Hope this helps

Steve
take your time and think things through
steven Burgess_2
Honored Contributor

Re: CPU usage reaches 100%

Deanne

Is it just the 1 process that is causing the CPU to run at 100% - If so what is this ?

Steve
take your time and think things through
Thierry Poels_1
Honored Contributor

Re: CPU usage reaches 100%

hmmm, way to little information to provide a helpful answer ... You probably don't want answers like:
- add an extra cpu
- replace cpu with more powerful one
- kill heavy processes
- rewrite heavy programs
- ...


Check with top and/or glance for heavy processes,
check for hanging processes, ....
Tuning and performance analysis requires a certain amount of background information of the system. Maybe the current system load is quite normal.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Deanna Tran_1
Frequent Advisor

Re: CPU usage reaches 100%

Currently, the logfile and control files
are on internal diskes ...It wasn't very high yersterday..but today it reaches at 100% ..
the avg cpu for user is at 22% and system uses
3%?
I don't have glance to look at ? Can you show me where to get it?
In addition, since the logfile and control file
are on the interntal diskes? will it cuase the CPU to be at 100%?
steven Burgess_2
Honored Contributor

Re: CPU usage reaches 100%

Deanne

There should be a demo of Glance available on your applications CDs (no 2) 60 day trial period

Do you have them ?

Steve
take your time and think things through
Deanna Tran_1
Frequent Advisor

Re: CPU usage reaches 100%

Hi...
Do you know the title of the CD?
I had datamining ..etc..but i don't know where is glance at?
Patrick Wallek
Honored Contributor

Re: CPU usage reaches 100%

The CDs you are looking for should say something like HP-UX Application CDs. It should be either a 3 or 4 CD set depending on your OS version. Glance should be located on either CD #1 or #2.
steven Burgess_2
Honored Contributor

Re: CPU usage reaches 100%

Deanne

I don't have a copy of the HPUX OS software here so can't give you the name of the CD

Regarding logfile and control files

Are these showing from 'top'

I have attached a programme called dpd which will allow you to view process details and their parents. Save it, transfer it to your server using binary ftp and change permissions to 744. mv it to /usr/local/bin

dpd

to display more details

Hope this helps

Steve
take your time and think things through
Tim D Fulford
Honored Contributor

Re: CPU usage reaches 100%

Glance is on the Applications CD set (5CD's). I think CD1. Glance is really the best tool for the job, but you need some time finding out what can be done with it as it is quite an extensive tool

If you do not have glance try "top".

Tim
-