Command:

show processes

Mode:

Router>

Syntax:

show processes [cpu]


Syntax Description:

cpu

(Optional) Displays detailed CPU utilization statistics.


Command Description:

Use the show processes EXEC command to display information about the active processes.


Examples:

The following is a sample of output from the show processes command:

Router#show processes


CPU utilization for five seconds: 21%/0%; one minute: 2%; five minutes: 2%
PID QTy       PC Runtime (ms)   Invoked   uSecs     Stacks    TTY  Process
  1 Mwe  2FEA4E         1808            464    3896     1796/3000   0  IP-EIGRP Router
  2 Lst  11682             10236        109   93908     1828/2000   0  Check heaps
  3 Mst  3AE9C             0            280       0     1768/2000   0  Timers
  4 Lwe  74AD2             0         12           0     1492/2000   0  ARP Input
  5.ME   912E4            0          2       0     1892/2000   0  IPC Zone Manager
  6.ME   91264            0          1       0     1936/2000   0  IPC Realm Manager
  7.ME   91066             0         30              0     1784/2000   0  IPC Seat Manager
  8.ME  133368             0              1       0     1928/2000   0  CXBus hot stall
  9.ME  1462EE                 0          1       0     1940/2000   0  Microcode load
 10 Msi 127538             4         76      52     1608/2000   0  Env Mon
 11.ME  160CF4             0          1       0     1932/2000   0  MIP Mailbox
 12 Mwe 125D7C             4        280      14     1588/2000   0  SMT input
 13 Lwe AFD0E              0          1       0     1772/2000   0  Probe Input
 14 Mwe AF662              0          1       0     1784/2000   0  RARP Input
 15 Hwe A1F9A            228        549     415     3240/4000   0  IP Input
 16 Msa C86A0              0        114       0     1864/2000   0  TCP Timer
 17 Lwe CA700              0          1       0     1756/2000   0  TCP Protocols
 18.ME  CCE7C            0          1       0     1940/2000   0  TCP Listener
 19 Mwe AC49E              0          1       0     1592/2000   0  BOOTP Server
 20 Mwe 10CD84            24         77     311     1652/2000   0  CDP Protocol
 21 Mwe 27BF82             0          2       0     1776/2000   0  ATMSIG Input
 

The following is a sample of output from the show processes cpu command:

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%  Check heaps
    2            68        585     116  1.00% 1.00%    0%  IP Input
    3             0        744       0     0%    0%    0%  TCP Timer
    4             0          2       0     0%    0%    0%  TCP Protocols
    5             0          1       0     0%    0%    0%  BOOTP Server
    6            16        130     123     0%    0%    0%   ARP Input
    7             0          1       0     0%    0%    0%  Probe Input
    8             0          7       0     0%    0%    0%  MOP Protocols
    9             0          2       0     0%    0%    0%  Timers
   10           692         64   10812     0%    0%    0%  Net Background
   11             0          5       0     0%    0%    0%  Logger
   12             0         38       0     0%    0%    0%  BGP Open
   13             0          1       0     0%    0%    0%  Net Input
   14           540       3466     155     0%    0%    0%  TTY Background
   15             0          1       0     0%    0%    0%  BGP I/O
   16          5100       1367    3730     0%    0%    0%  IGRP Router
   17            88       4232      20  0.20% 1.00%    0%  BGP Router
   18           152      14650      10     0%    0%    0%  BGP Scanner
   19           224         99    2262     0%    0% 1.00%  Exec
 

The table below describes significant fields shown in the two displays.

Table: show processes Field Descriptions

Field Description

CPU utilization for five seconds

CPU utilization for the last 5 seconds. The second number indicates the percent of CPU time spent at the interrupt level.

one minute

CPU utilization for the last minute

five minutes

CPU utilization for the last 5 minutes

PID

Process ID

Q

Process queue priority. Possible values: H (high), M (medium), L (low).

Ty

Scheduler test. Possible values: * (currently running), E (waiting for an event), S (ready to run, voluntarily relinquished processor), rd (ready to run, wakeup conditions have occurred), we (waiting for an event), sa (sleeping until an absolute time), si (sleeping for a time interval), sp (sleeping for a time interval (alternate call), st (sleeping until a timer expires), hg (hung; the process will never execute again), xx dead. (The process has terminated, but not yet been deleted).

PC

Current program counter

Runtime (ms)

CPU time the process has used, in milliseconds

Invoked

Number of times the process has been invoked

uSecs

Microseconds of CPU time for each process invocation

Stacks

Low water mark/Total stack space available, shown in bytes

TTY

Terminal that controls the process

Process

Name of process

5Sec

CPU utilization by task in the last 5 seconds

1Min

CPU utilization by task in the last minute

5Min

CPU utilization by task in the last 5 minutes


Note   Because the network server has a 4-millisecond clock resolution, run times are considered reliable only after a large number of invocations or a reasonable, measured run time.

 

Misconceptions:
None

Related commands:
show memory

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)