Displaying Historical CPU Values

Problem

You want to display the router’s historical CPU utilization values.

Solution

To display the router’s historical CPU values, use the show processes cpu history command:

Router# show processes cpu history

Router   03:48:18 PM Monday Apr 17 2006 EDT

                                                              
                                         555559999999999999999
    5                                    444449999999999999999
100                                           ******************
 90                                           ******************
 80                                           ******************
 70                                           ******************
 60                                           ******************
 50                                      ***********************
 40                                      ***********************
 30                                      ***********************
 20                                      ***********************
 10 *                                    ***********************
   0....5....1....1....2....2....3....3....4....4....5....5....
             0    5    0    5    0    5    0    5    0    5    
               CPU% per second (last 60 seconds)
                                                              
    99   1                                                9999
    99   1                                     4          9999
100 **                                                    ***#*#
 90 **                                                    **##*#
 80 #*                                                    *###*#
 70 #*                                                    *###*#
 60 #*                                                    *###*#
 50 #*                                                    *#####
 40 #*                                                    *#####
 30 #*                                                    ######
 20 ##                                                    ######
 10 ##   *                                                ######
   0....5....1....1....2....2....3....3....4....4....5....5....
             0    5    0    5    0    5    0    5    0    5    
               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%
                          11                                              
    9111 111 121 1 121 131009  111111 11 112  1111 12  21  1111 1 11 2221 
    9113776097349362207994009990236246707314992025700880288101471605900356
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#

Get Cisco IOS Cookbook, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.