1752766 Members
5259 Online
108789 Solutions
New Discussion

CPU utilization 100%

 
Vishal_1980
Regular Advisor

CPU utilization 100%

Hello Expert,

 

One of our server was showing 100% CPU utilization,

Please check the below snap & suggest..

 

ALERT for BPO \ biBPO_BPO_00 \ CPU \ CPU_Utilization at 20140607 042954 ( Time in UTC )

System: BPO at 20140606 222954 ( Time in MST ) RED CCMS alert for monitored object CPU_Utilization

Alert Text:CPU Utilization:   99 % > 98 %  15 min. avg.

 

 

Thanks & regards,

 

Vishal

8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: CPU utilization 100%

Please use a standard HP-UX tool like top(1) to show the processes involved.

Vishal_1980
Regular Advisor

Re: CPU utilization 100%

# vmstat 2
         procs           memory                   page                              faults       cpu
    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id
    1     0     0  1097145  4367896    0    0     0    0     0    0     1   2124  12498   883   3  1 96
    1     0     0  2181862  4367810    0    0     0    0     0    0     0   1151   1389   117   0  0 100
    1     0     0  2181862  4367900    0    0     0    0     0    0     0   1158   2801   143   0  0 99
    1     0     0  2181862  4367895    0    0     0    0     0    0     0   1153   1991   127   0  0 100
    1     0     0  2181862  4367895    0    0     0    0     0    0     0   1144   1475   116   0  0 100
    1     0     0  2181862  4367900    0    0     0    0     0    0     0   1143   1125   106   0  0 100
    1     0     0  2180339  4367900    0    0     0    0     0    0     0   1143    934   104   0  0 100
    1     0     0  2180339  4367900    0    0     0    0     0    0     0   1166   3641   145   1  0 98
    1     0     0  2180339  4367895    0    0     0    0     0    0     0   1157   2566   129   0  0 100
    1     0     0  2180339  4367895    0    0     0    0     0    0     0   1152   1875   117   0  0 100
    1     0     0  2180339  4367895    0    0     0    0     0    0     0   1141   1920   106   0  0 100
    1     0     0  1109237  4367895    0    0     0    0     0    0     0   1157   1412   137   0  0 100
    1     0     0  1109237  4367895    0    0     0    0     0    0     0   1155   1417   127   0  1 99
    1     0     0  1109237  4367895    0    0     0    0     0    0     0   1159   2445   146   0  0 100
    1     0     0  1109237  4367895    0    0     0    0     0    0     0   1178   3107   282   0  0 100
    1     0     0  1349969  4367894    0    0     0    0     0    0     0   1172   2784   220   0  0 100
    1     0     0  1349969  4367894    0    0     0    0     0    0     0   1174   2702   183   0  0 100
    1     0     0  1349969  4367894    0    0     0    0     0    0     0   1160   1899   147   0  1 99
    1     0     0  1349969  4367894    0    0     0    0     0    0     0   1161   2807   159   0  0 100
    1     0     0  1349969  4367894    0    0     0    0     0    0     0   1150   1980   137   0  0 100
         procs           memory                   page                              faults       cpu
    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id
    1     0     0  1343303  4367894    0    0     0    0     0    0     0   1151   1466   123   0  0 100
    1     0     0  1343303  4367894    0    0     0    0     0    0     0   1149   1135   114   0  0 100
    1     0     0  1343303  4367894    0    0     0    0     0    0     0   1142    912   105   0  0 99
    1     0     0  1343303  4367898    0    0     0    0     0    0     0   1156   2196   134   0  0 100
    1     0     0  1343303  4367898    0    0     0    0     0    0     0   1152   1676   121   0  0 100
    1     0     0  1233468  4367898    0    0     0    0     0    0     0   1146   1259   110   0  0 100
    1     0     0  1233468  4367898    0    0     0    0     0    0     0   1157   1052   142   0  0 100
    1     0     0  1233468  4367898    0    0     0    0     0    0     0   1153    910   126   0  0 99
    1     0     0  1233468  4367898    0    0     0    0     0    0     0   1151   2255   142   0  0 100
    1     0     0  1233468  4367898    0    0     0    0     0    0     0   1148   1764   124   0  0 100
    1     0     0  2808102  4367898    0    0     0    0     0    0     0   1146   1314   112   2  0 98
    1     0     0  2808102  4367748    0    0     0    0     0    0     0   1183   3255   235   0  0 100
#


System: bidbcio                                       Mon Jun  9 13:06:56 2014
Load averages: 0.02, 0.04, 0.03
309 processes: 244 sleeping, 65 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.01   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%
 2    0.02   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%
 4    0.02   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%
 6    0.02   0.4%   0.0%   0.4%  99.2%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.02   0.2%   0.0%   0.0%  99.8%   0.0%   0.0%   0.0%   0.0%

System Page Size: 4Kbytes
Memory: 22646964K (2900860K) real, 35907772K (4637840K) virtual, 17468204K free  Page# 1/11

CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 6   ?        3 root     152 20    72K    64K sleep   17:41  0.75  0.75 statdaemon
 4   ?    13845 bpoadm   155 20 13552M   278M sleep   27:43  0.33  0.33 dw.sapBPO_DVEBMGS00
 0   ?    24996 bpoadm   155 20 13372M 70032K sleep    0:02  0.16  0.16 dw.sapBPO_DVEBMGS00
 0   ?     1060 daemon   152 20 13600K  2264K run     31:41  0.15  0.15 rpc.statd
 6   ?     2804 root     158 20  5204K   840K sleep   26:47  0.13  0.12 sh
 6 pts/ta  5061 root     178 20 11088K  1868K run      0:00  0.44  0.12 top
 0   ?       81 root     152 20   360K   320K run      9:20  0.10  0.10 pm_schedcpu
 0   ?     2049 root     152 20 13352K  2672K run     31:59  0.10  0.10 rpc.mountd
 0   ?    10817 bpoadm   154 20 14169M  9132K sleep   18:29  0.08  0.08 ora_dia0_BPO
 4   ?        6 root     152 20   216K   192K run      3:45  0.04  0.04 kmemdaemon
 0   ?     1831 root     154 20  4424K   460K sleep    5:09  0.04  0.04 pwgrd
 2   ?        0 root     127 20    72K    64K sleep    0:35  0.03  0.03 swapper
 4   ?     1532 root     154 20  6704K   692K sleep    3:25  0.03  0.03 ipv6agt
 0   ?    13848 bpoadm   155 20 13487M   201M sleep   29:13  0.03  0.03 dw.sapBPO_DVEBMGS00
 6   ?     2118 root     152 20 23660K  1700K run      0:24  0.03  0.03 saphostexec
 2 pts/ta  4010 root     158 20  1556K   412K sleep    0:00  0.03  0.03 sh
 6   ?    10813 bpoadm   154 20 14167M  7596K sleep    0:22  0.03  0.03 ora_diag_BPO
 2   ?     2269 root     168 20 28132K  6904K sleep   12:02  0.02  0.02 saposcol
 2   ?    12113 bpoadm   152 20   201M 30888K run      5:54  0.02  0.02 sapstartsrv
 4   ?     1401 root     154 20 10988K  1140K sleep   22:49  0.02  0.02 sendmail:
 6   ?    13869 orabpo   154 20 14176M 14216K sleep   10:01  0.02  0.02 oracleBPO
 2   ?      988 root     154 20  6464K  1264K sleep    4:36  0.01  0.01 rpcbind
 6   ?     2384 root     -27 20 62632K 47848K run      7:17  0.01  0.01 cmcld
 2   ?    10833 bpoadm   154 20 14168M  8876K sleep    5:21  0.00  0.00 ora_mmnl_BPO
 2   ?        1 root     152 20  2480K   656K run      0:15  0.00  0.00 init
 0   ?        2 root     128 20    72K    64K sleep    0:23  0.00  0.00 vhand
 0   ?        4 root     152 20   144K   128K run      2:50  0.00  0.00 unhashdaemon
 2   ?        5 root     152 20  1224K  1088K run      0:00  0.00  0.00 signald
 6   ?        7 root     152 20   288K   256K run      0:00  0.00  0.00 kai_daemon

Dennis Handly
Acclaimed Contributor

Re: CPU utilization 100%

Please use Post Options > Edit Reply to insert the appropriate newlines so it is readable.

Also, it would help if the top output had the top processes.

Vishal_1980
Regular Advisor

Re: CPU utilization 100%

Hello Dennis sir,

I have given the vmstat & top out put.Please suggest me furthere

Thanks & regards,
Vishal
Dennis Handly
Acclaimed Contributor

Re: CPU utilization 100%

>I have given the vmstat & top output.

 

top and vmstat say your system is now idle.

Perhaps the peak was only temporary?

Vishal_1980
Regular Advisor

Re: CPU utilization 100%

Thanks a lot sir,

Therefore is it a kind of worry situation .
Bill Hassell
Honored Contributor

Re: CPU utilization 100%

There is nothing to worry about. 100% CPU usage will not cause your machine to melt down.

HP-UX, like all Unix flavors, is a timesharing system. A single process can easily consume 100% of one CPU. For a 4 CPU system, 4 of those processes running at the same time will consume all 4 CPUs. But you can still login, run vi, compile programs, look at web pages, etc. HP-UX will reduce the priority of 100% usage programs to allow everything else some CPU time. You don't "fix" the program or the OS...if you are not expecting the program to use 100% CPU time, then ask the creator of the program if this is normal or what the program is supposed to do.



Bill Hassell, sysadmin
Vishal_1980
Regular Advisor

Re: CPU utilization 100%

Thanks Bill sir,

For you valuable advice & guidance.

Regards,
Vishal