show processes cpu

 

Maximum usage is measured and recorded every second; average usage is calculated on periods of more

 

than one second. Consistently high CPU utilization over an extended period of time indicates a problem

 

and using the show processes cpu command is useful for troubleshooting. Also, you can use the output

 

of this command in the Cisco Output Interpreter tool to display potential issues and fixes. Output

 

Interpreter is available to registered users of Cisco.com who are logged in and have Java Script enabled.

 

For a list of system processes, go to http://www.cisco.com/warp/public/63/showproc_cpu.html.

 

Cisco IOS Software Modularity

 

 

 

 

 

 

 

Cisco IOS Software Modularity images display only one graph that shows the CPU utilization for the

 

last 60 minutes. The horizontal axis shows times (for example, 0, 5, 10, 15 minutes), and the vertical axis

 

shows total percentage of CPU utilization (0 to 100 percent).

 

 

 

 

Examples

Example output varies between Cisco IOS software images and Cisco IOS Software Modularity software

 

images. To view the appropriate output, choose one of the following sections:

 

Cisco IOS Software

 

 

 

 

 

 

 

 

Cisco IOS Software Modularity

 

 

 

 

 

 

 

Cisco IOS Software

 

 

 

 

 

 

 

 

The following is sample output from the show processes cpu command without keywords:

 

Router# show processes cpu

 

 

 

 

 

 

 

CPU utilization for five seconds: 5%/2%;

one minute: 3%; five minutes: 2%

 

PID

Runtime (ms)

Invoked

uSecs

5Sec

1Min

5Min

TTY

Process

 

1

1736

58

29931

0%

0%

0%

0

Check heaps

 

2

68

585

116

1.00%

1.00%

0%

0

IP Input

 

3

0

744

0

0%

0%

0%

0

TCP Timer

 

4

0

2

0

0%

0%

0%

0

TCP Protocols

 

5

0

1

0

0%

0%

0%

0

BOOTP Server

 

6

16

130

123

0%

0%

0%

0

ARP Input

 

7

0

1

0

0%

0%

0%

0

Probe Input

 

8

0

7

0

0%

0%

0%

0

MOP Protocols

 

9

0

2

0

0%

0%

0%

0

Timers

 

10

692

64

10812

0%

0%

0%

0

Net Background

 

11

0

5

0

0%

0%

0%

0

Logger

 

12

0

38

0

0%

0%

0%

0

BGP Open

 

13

0

1

0

0%

0%

0%

0

Net Input

 

14

540

3466

155

0%

0%

0%

0

TTY Background

 

15

0

1

0

0%

0%

0%

0

BGP I/O

 

16

5100

1367

3730

0%

0%

0%

0

IGRP Router

 

17

88

4232

20

0.20%

1.00%

0%

0

BGP Router

 

18

152

14650

10

0%

0%

0%

0

BGP Scanner

 

19

224

99

2262

0%

0%

1.00%

0

Exec

The following is sample output of the one-hour portion of the output. The Y-axis of the graph is the CPU utilization. The X-axis of the graph is the increment within the time period displayed in the graph. This example shows the individual minutes during the previous hour. The most recent measurement is on the left of the X-axis.

Router# show processes cpu history

!--- One minute output omitted

6665776865756676676666667667677676766666766767767666566667

6378016198993513709771991443732358689932740858269643922613

100

 

Cisco IOS Configuration Fundamentals Command Reference

CF-838

July 2008

Page 162
Image 162
Cisco Systems 12000 series Shows total percentage of CPU utilization 0 to 100 percent, CF-838, Router# show processes cpu