show processes command

If your Cisco device is experiencing high CPU usage, we can use the Show Operations command to list all running processes and determine the cause of the problem. This command provides you with a list of active processes, along with corresponding process ID, priority, user CPU time, number of times recalled, and other information.



Here is an example output of this command invoked on a Cisco router:

R1#show processes
CPU utilization for five seconds: 0%/0%; one minute: 0%; five minutes: 0%
PID QTy PC Runtime (ms) Invoked uSecs Stacks TTY Process
1 Csp 602F3AF0 0 1627 0 2600/3000 0 Load Meter
2 Lwe 60C5BE00 4 136 29 5572/6000 0 CEF Scanner
3 Lst 602D90F8 1676 837 2002 5740/6000 0 Check heaps
4 Cwe 602D08F8 0 1 0 5568/6000 0 Chunk Manager
5 Cwe 602DF0E8 0 1 0 5592/6000 0 Pool Manager
6 Mst 60251E38 0 2 0 5560/6000 0 Timers
7 Mwe 600D4940 0 2 0 5568/6000 0 Serial Backgrou
8 Mwe 6034B718 0 1 0 2584/3000 0 OIR Handler
9 Mwe 603FA3C8 0 1 0 5612/6000 0 IPC Zone Manage
10 Mwe 603FA1A0 0 8124 0 5488/6000 0 IPC Periodic Ti
11 Mwe 603FA220 0 9 0 4884/6000 0 IPC Seat Manage
12 Lwe 60406818 124 2003 61 5300/6000 0 ARP Input
13 Mwe 60581638 0 1 0 5760/6000 0 HC Counter Time
The first line of the output shows the CPU usage in the last 5 seconds, 1 minute and 5 minutes. Here are other fields described in the output: PID: the process identifier.

Q: The process queue priority. Possible values ​​are: C (critical), H (high), M (medium), and L (low).

Ty: Diagram test (case). Possible values ​​are: * (currently running), E (waiting for an event), S (ready to run, processor abandoned voluntarily), rd (ready to run, trigger conditions occurred), we (waiting for an event), sa (sleep Until absolute time), si (sleep for a period of time), sp (sleep for a period of time (alternative call), st (sleep until the end of time), hg (suspended; process never gets started again), xx (dead: process ended , But not yet removed).

Computer - the current program counter.

Execution time: The CPU time that the process used.

Called: The number of times the process was called.

microSecs: CPU time for each call.

Stack - low watermark or total stack space available, shown in bytes.

TTY: A terminal that controls the process.

Process: The name of the process.

Post a Comment (0)
Previous Post Next Post

Advertisment