System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

top showing high utilisation of cpu

 
SOLVED
Go to solution
toni osta
Frequent Advisor

top showing high utilisation of cpu

Hi ,
I have a rx3660 server with 4 CPU (2 CPU dual core)
when executing command TOP , it shows only 1% idle of CPU usage , (sometimes arrive at 15% idle)
as %SYS about 35% and USER is about 43% ,
I think it is not a normal situation with ythis much load ,
how can i know if there is something related to the system and not the application that is consumming this amount ,
and how can i know each process is consumming ?
Thank you
11 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: top showing high utilisation of cpu

Shalom,

Actually I don't think your utilization is that high.

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

Memory leak tool, which will show over time memory use and other cool data:

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

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
toni osta
Frequent Advisor

Re: top showing high utilisation of cpu

I have run the performance script and below the cpu report and performance report , i want only to know if it could be normal

HP-UX ccbs2 B.11.23 U ia64 01/19/09

13:45:55 cpu runq-sz %runocc swpq-sz %swpocc
13:45:56 0 2.0 98
1 4.0 98
2 0.0 0
3 2.0 98
system 2.7 74 0.0 0
# more HP_perf_info.cpu

HP-UX ccbs2 B.11.23 U ia64 01/19/09

13:45:55 cpu %usr %sys %wio %idle
13:45:56 0 59 41 0 0
1 75 25 0 0
2 65 35 0 0
3 45 55 0 0
system 61 39 0 0
toni osta
Frequent Advisor

Re: top showing high utilisation of cpu

also this is the top output :

Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 3.04 14.9% 38.6% 45.5% 1.0% 0.0% 0.0% 0.0% 0.0%
1 3.01 41.2% 19.6% 37.3% 2.0% 0.0% 0.0% 0.0% 0.0%
2 3.17 0.0% 55.9% 43.1% 1.0% 0.0% 0.0% 0.0% 0.0%
3 3.00 8.9% 71.3% 13.9% 5.9% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 3.05 16.5% 45.6% 35.0% 2.9% 0.0% 0.0% 0.0% 0.0%
Steven E. Protter
Exalted Contributor

Re: top showing high utilisation of cpu

Shalom,

98% CPU use is not by itself a problem. Sluggish response time may be.

A system is designed to run indefinitely at 100% CPU.

Run the memory leak utility for an hour and then post results. We can identify the offending process with that tool.

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
toni osta
Frequent Advisor

Re: top showing high utilisation of cpu

PROC# -Vmem- Resident Memory --------- command ---------
12508 55376 221504 ora_dbw0_MED
8141 55376 221504 ora_dbw0_CALLS
12499 54288 217152 ora_pmon_MED
12529 54284 217136 ora_s000_MED
8110 54283 217136 ora_pmon_CALLS
12520 54208 217856 ora_mmon_MED
8153 54208 217856 ora_mmon_CALLS
12512 54128 217536 ora_ckpt_MED
8145 54128 217536 ora_ckpt_CALLS
12510 54096 217408 ora_lgwr_MED
Steven E. Protter
Exalted Contributor

Re: top showing high utilisation of cpu

Shalom,

Sorry the output is not more refined.

The winner is: Oracle

PROC# -Vmem- Resident Memory --------- command ---------
12508 55376 221504 ora_dbw0_MED
8141 55376 221504 ora_dbw0_CALLS
12499 54288 217152 ora_pmon_MED
12529 54284 217136 ora_s000_MED
8110 54283 217136 ora_pmon_CALLS
12520 54208 217856 ora_mmon_MED
8153 54208 217856 ora_mmon_CALLS
12512 54128 217536 ora_ckpt_MED
8145 54128 217536 ora_ckpt_CALLS
12510 54096 217408 ora_lgwr_MED

There are all oracle processes. You might want to re-run the utility for a larger number of processes than the default 10, but without a doubt the top memory user is Oracle. Looks like db writer, also processes associated with the creation of archive lobs.

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
Viney Kumar
Regular Advisor

Re: top showing high utilisation of cpu

Hi toni

have kmeminfo in your server or not ::

if yes

pl post the output with -user and -arena option
toni osta
Frequent Advisor

Re: top showing high utilisation of cpu

i have used this command
mem.mon â d 7200 â r 10 â n 10
for more proceses i will increase the n parameter , but how can i use it wiyh specifying not to take oracle processes
Steven E. Protter
Exalted Contributor

Re: top showing high utilisation of cpu

Shalom,

Have your dba look at the following information:
1) SGA configuration. Lots of memory to be saved there.
2) Check kmtune or kctune output against the Oracle requirements for the OS. I suspect an additional problem is Oracle pre-installation requirements have not been met.

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
toni osta
Frequent Advisor

Re: top showing high utilisation of cpu

Hi again ,
i am checking one issue , the server have 32 GB memory (it was 16 GB then upgraded from one week to 32 GB )
dmesg and swapinfo shows 32 GB
but in top command i am seeing this output:

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 2.59 5.4% 42.0% 50.0% 2.6% 0.0% 0.0% 0.0% 0.0%
1 2.83 6.4% 53.8% 37.8% 2.0% 0.0% 0.0% 0.0% 0.0%
2 2.49 4.2% 54.6% 40.6% 0.6% 0.0% 0.0% 0.0% 0.0%
3 2.57 4.2% 53.2% 40.4% 2.2% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 2.62 5.0% 50.9% 42.1% 2.0% 0.0% 0.0% 0.0% 0.0%

Memory: 15452468K (12352544K) real, 19080028K (15281524K) virtual, 339060K free Page# 1/9

as if the memory is only still 16 GB (15452468K )
am i missing something or it is the fact ??

Re: top showing high utilisation of cpu

>as if the memory is only still 16 GB. Am I missing something?

You should not be trusting in the top(1).
cstm or dmesg would be more accurate.