cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
525
Views
0
Helpful
1
Replies

Analys CPU processes

aletomeh1394
Level 1
Level 1

Hi guys

I have some problem to analys output of show processes cpu sorted command:

CPU utilization for five seconds: 63%/39%; one minute: 58%; five minutes: 54%

PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process

268    63054420  58763843       1073  6.30%  4.75%  3.18%   0 SNMP ENGINE     

266    31043172 116493757        266  2.53%  2.20%  1.47%   0 IP SNMP         

  81    50466500 154207930        327  2.04%  1.78%  1.37%   0 IP Input        

263    54855184 213716420        256  1.80%  1.47%  1.47%   0 PPP Events      

267    15588276  58651968        265  1.47%  1.17%  0.77%   0 PDU DISPATCHER  

272    50306248 215328106        233  1.31%  1.12%  1.12%   0 RADIUS          

259    42069064 103490362        406  1.14%  0.77%  0.74%   0 PPPoE Background

260    45136312  51332622        879  1.06%  0.78%  0.80%   0 PPPoE Discovery 

   5    10693252    649098      16474  0.90%  0.22%  0.18%   0 Check heaps     

  91    50306332  41390071       1215  0.65%  0.79%  0.86%   0 SSS Manager     

139     1708436 901919136          1  0.57%  0.57%  0.57%   0 HQF Shaper Backg

  72     3846912  31168524        123  0.57%  0.45%  0.44%   0 AAA ACCT Proc   

  19    50530252 513879472         98  0.49%  0.48%  0.49%   0 ARP Input      

.....

First of all, as you can see in this output, sum of values in 5Sec column are not 63%. Sum of 6.3, 2.53 and so on, are not 63%.

The second point is 39%.In the cisco documentation, the second number named as Time at Interrupt persentage. What does it mean? What interrupt? It says:

Knowing the time spent at interrupt is critical for determining the cause of CPU utilization. The CPU utilization history shows when the CPU is consistently receiving network packets, but it does not show the cause.

Enter the Cisco IOS 

show processes cpu sorted 5sec privileged EXEC command to show the current the CPU utilization and which IOS processes are using the most CPU time. In this example, the CPU is too busy because the sustained utilization is over the baseline of 50%.

Anybody can explaint what does it mean and what is time interrupt and infact. Also how should I sum the numbers in the 5Sec column to reach the 63%?

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The   Author of this posting offers the information contained within this   posting without consideration and with the reader's understanding that   there's no implied or expressed suitability or fitness for any purpose.   Information provided is for informational purposes only and should not   be construed as rendering professional advice of any kind. Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In   no event shall Author be liable for any damages whatsoever (including,   without limitation, damages for loss of use, data or profit) arising  out  of the use or inability to use the posting's information even if  Author  has been advised of the possibility of such damage.

Posting

The sum the the 5-sec CPU column doesn't equal the number you highlighted, it should equal the 1st value less the 2nd value, i.e. 63 - 39 = 24.

"Interrupt" CPU is some of the equivalent of kernel or supervisor time on a typical OS.  So total CPU would be the some of this value (39) and the sum of all the individual process values (24).

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: