Operating System - HP-UX
1752790 Members
6097 Online
108789 Solutions
New Discussion юеВ

Re: 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 11
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