cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
433
Views
0
Helpful
2
Replies

show proc cpu sorted output on 6509 with sup720's

cwmbrankid
Level 1
Level 1

Hi,

We have a 6509 with sup 720's running IOS 12.2.(33) that is running high CPU at various times. We are looking at the show proc cpu sorted output but I can't quite understand the information given despite trawling the Support Community.

I understand the total CPU % / Interrupt CPU% and subtracting one from the other gives the Process % but then the rest of the output doesn't add up as I would of thought.

From the example below the total CPU is 68%, the interrupt is 18% so process is 50% but adding up the listed running processes gives no where this level.

Am I wildly off the mark in how I'm interpreting the output? 

Any assistance would be greatly appreciated.

Paul.

 

CPU utilization for five seconds: 68%/18%; one minute: 22%; five minutes: 18%
 PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process 
 445    13052056 767551289         17  6.55%  5.75%  5.69%   0 VRRP             
 257    65513736 464085573        141  4.55%  2.82%  2.60%   0 IP Input         
  23     9132076  78578234        116  2.15%  0.37%  0.32%   0 IPC Seat Manager 
 251    18659616   4686672       3981  1.19%  1.11%  1.12%   0 CDP Protocol     
  11     7347200  17678669        415  0.55%  0.39%  0.34%   0 ARP Input        
 324     2017568   3365765        599  0.31%  0.37%  0.37%   0 CEF: IPv4 proces 
 280      104324 267727229          0  0.15%  0.15%  0.15%   0 Ethernet Msec Ti 
 122     1682588   1288397       1305  0.07%  0.08%  0.07%   0 IPC LC Message H 
  50      111576   2140130         52  0.07%  0.07%  0.07%   0 Per-Second Jobs  
  85      642324   1355463        473  0.07%  0.03%  0.02%   0 ARP HA           
  63      480104  19011424         25  0.07%  0.03%  0.02%   0 Net Input        
 259     1529160  12356146        123  0.07%  0.07%  0.07%   0 ADJ resolve proc 
 242      895856   2406135        372  0.07%  0.03%  0.02%   0 esw_vlan_stat_pr 
 500     1751720   3145058        556  0.07%  0.07%  0.07%   0 DHCPD Receive    

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

Hi in case your not aware there's a good tool for your cpu calculations on Cisco website you can run the whole show proc cou sorted in it I just ran your extract that's what came back as below, it will interpret it for you, but yes that's the way I have always calculated it when I have no access to the tool , run the whole output see what it gives back its pretty detailed

https://www.cisco.com/cgi-bin/Support/OutputInterpreter/home.pl

INFO: Total CPU Utilization is comprised of process and interrupt percentages. Total CPU Utilization: 68% Process Utilization: 50% Interrupt Utilization: 18%

These values are found on the first line of the output: CPU utilization for five seconds: x%/y%; one minute: a%; five minutes: b% Total CPU Utilization: x% Process Utilization: (x - y)% Interrupt Utilization: y%

Process Utilization is the difference between the Total and Interrupt (x and y). The one and five minute utilizations are exponentially decayed averages (rather than an arithmetic average), therefore recent values have more influence on the calculated average.

Thanks for the reply Mark. Unfortunately if I try to log in to use Output Interpreter I'm getting a Status: 302 error.

Is there any explanation as to why the processes listed when looking at the command output don't actually add up to same percentage as worked out from the formula (process cpu=x-y)?

Thanks.

Paul.

Review Cisco Networking products for a $25 gift card