CPU utilization of CISCO Devices

CPU utilization of CISCO  Devices



To know  CPU utilization of Cisco devices, here are 2  important commands which helps you get the utilization for last 60 seconds, 60 minutes & 72 hours and to know exactly the kind of processing which causes high utilization.



Router#sh processes cpu history
  To see the CPU utilization in a graph for the last 60 seconds, 60 minutes, and 72 hours


Router#sh processes cpu sorted 
to know the CPU utilization for five seconds, the second number is the interrupt percentage. Use the interrupt percentage to determine if the problem is caused by a system process or high network traffic.




Router#sh processes cpu history 

Router   08:12:24 PM Wednesday Dec 14 2016 UTC

                                                                  
                                                                  
                                                                  
      111111111111111111122222222222222222222222222222222222222222
      888899999888888888822222222222222233333444445555555555555555
  100                                                             
   90                                                             
   80                                                             
   70                                                             
   60                                                             
   50                                                             
   40                                                             
   30                                             ****************
   20 ************************************************************
   10 ************************************************************
     0....5....1....1....2....2....3....3....4....4....5....5....6
               0    5    0    5    0    5    0    5    0    5    0
               CPU% per second (last 60 seconds)

                                                                  
                                                                  
                                                                  
      222222222222222222222232222222222222222222222222222222222222
      555311235345542545436466855855436643332652433543556654563353
  100                                                             
   90                                                             
   80                                                             
   70                                                             
   60                                                             
   50                                                             
   40                       *                                     
   30 ***     *  **  * *  * #****#**  **     **    *  ***** **  * 
   20 ############################################################
   10 ############################################################
     0....5....1....1....2....2....3....3....4....4....5....5....6
               0    5    0    5    0    5    0    5    0    5    0
               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%

                                                                              
                                                                              
                                                                              
      2333333333343432232433333322222333433222233222223333334                 
      6126976652124029986312066977786055864864445676893122137                 
  100                                                                         
   90                                                                         
   80                                                                         
   70                                                                         
   60                                                                         
   50                                   *                   *                 
   40    ******  * *   * *   ***      ****      *           *                 
   30 ***######************#*###*********#***  *************#                 
   20 ##########################################*############                 
   10 #######################################################                 
     0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
               0    5    0    5    0    5    0    5    0    5    0    5    0  
                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%









Router#sh processes cpu sorted                           
CPU utilization for five seconds: 25%/22%; one minute: 23%; five minutes: 21%
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process 
 161     3243916    14308949        226  1.51%  1.69%  1.70%   0 IP Input         
 246      356976      574989        620  0.39%  0.38%  0.36%   0 IP NAT Ager      
 182        2228    25359897          0  0.23%  0.23%  0.23%   0 Ethernet Msec Ti 
  31      310332     3142512         98  0.23%  0.23%  0.23%   0 ARP Input        
 282        2124     3127063          0  0.07%  0.06%  0.07%   0 MMA DP TIMER     
  90         308      834168          0  0.07%  0.01%  0.00%   0 Transport Port A 
 222       47728      837104         57  0.07%  0.01%  0.00%   0 TCP Protocols    
 117        1808     3127069          0  0.07%  0.04%  0.05%   0 VRRS Main thread 
 353        2648      196048         13  0.07%  0.07%  0.07%   0 CFT Timer Proces 
  10           0           1          0  0.00%  0.00%  0.00%   0 License Client N 
  12      325164        3336      97471  0.00%  0.08%  0.10%   0 Licensing Auto U 
  11           0           1          0  0.00%  0.00%  0.00%   0 Image License br 
  13      184972      200093        924  0.00%  0.06%  0.05%   0 Environmental mo 
  15          32        3338          9  0.00%  0.00%  0.00%   0 IPC Dynamic Cach 
  16           0           1          0  0.00%  0.00%  0.00%   0 IPC Session Serv 
   9           0          26          0  0.00%  0.00%  0.00%   0 WATCH_AFS        
  18         116      195704          0  0.00%  0.00%  0.00%   0 IPC Periodic Tim 
   8           0           2          0  0.00%  0.00%  0.00%   0 Timers           
  14          56       40034          1  0.00%  0.00%  0.00%   0 IPC Event Notifi 
  21           0           1          0  0.00%  0.00%  0.00%   0 IPC Seat Manager 
  17           0           1          0  0.00%  0.00%  0.00%   0 IPC Zone Manager 
  23           0           1          0  0.00%  0.00%  0.00%   0 IPC Seat RX Cont 
  24           0           1          0  0.00%  0.00%  0.00%   0 IPC Seat TX Cont 
  25           0       20051          0  0.00%  0.00%  0.00%   0 IPC Keep Alive M 
  26          16       40096          0  0.00%  0.00%  0.00%   0 IPC Loadometer   
  19          40      195705          0  0.00%  0.00%  0.00%   0 IPC Deferred Por 
  28           0           1          0  0.00%  0.00%  0.00%   0 Exception contro 
  29         432         529        816  0.00%  0.00%  0.00% 132 Virtual Exec     
  30           0           1          0  0.00%  0.00%  0.00%   0 IFS Agent Manage 



To Know more data about this topic Please check the following link from CISCO
Click here


No comments:

Post a Comment