Show processes command
From NetworkCommands
A command available on most Cisco platforms; used to display software process CPU and memory utilisation statistics.
Contents |
Usage Syntax
show processes [memory options | cpu options]
Common memory options include;
- memory pid number - display detailed memory utilisation information for the specified process ID number
- memory sorted - display memory utilisation information for all processes, sorted high to low based on current memory utilisation
Common cpu options include;
- cpu history - display cpu utilisation history graphs (per second for last minute, per minute for last hour and per hour for last 72hrs)
- cpu sorted - display cpu utilisation information for all processes, sorted high to low based on current cpu utilisation
Usage Examples
show processes memory sorted - display memory utilisation information for all processes, sorted high to low based on current memory utilisation
show processes history - display cpu utilisation history graphs (per second for last minute, per minute for last hour and per hour for last 72hrs)
show processes cpu - display standard cpu utilisation information with information on last 5 seconds, 1 minute and 5 minutes
show proc cpu sorted | e 0.00% 0.00% 0.00% - display standard cpu utilisation, sort and exclude processes that have not utilised the cpu in the last 5 minutes
Usage Notes
Be aware the simply using the command, particularly multiple times in succession, will itself increase the CPU utilisation and thus may give an inaccurate impression of actual CPU utilisation.
High CPU Utilisation
See the Troubleshooting, High CPU, Cisco article for troubleshooting advice if you note high CPU utilisation when using this command.
Typical Output
Cisco 2811 router, v12.4(13r)T software, command: show proc cpu sorted 1min, complete output omitted;
CPU utilization for five seconds: 36%/34%; one minute: 35%; five minutes: 35% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 108 156785092 39943371 3925 0.40% 0.33% 0.33% 0 IP Input 107 286408 19492227 14 0.16% 0.20% 0.22% 0 IP ARP Retry Age 5 974500 79184 12306 0.00% 0.17% 0.17% 0 Check heaps 3 25572 6693 3820 0.73% 0.13% 0.03% 514 SSH Process 274 757104 4589903 164 0.08% 0.12% 0.14% 0 HSRP IPv4 103 298808 19492352 15 0.08% 0.10% 0.09% 0 ACCT Periodic Pr 170 157416 6435462 24 0.08% 0.08% 0.08% 0 RBSCP Background 139 242036 1280593 189 0.08% 0.07% 0.08% 0 IP NAT Ager 2 80732 131492 613 0.08% 0.07% 0.08% 0 Load Meter 144 106220 1306810 81 0.08% 0.03% 0.02% 0 DHCPD Receive 43 70028 657519 106 0.08% 0.03% 0.02% 0 Per-Second Jobs 282 286784 1952818 146 0.00% 0.03% 0.03% 0 NAT MIB Helper 50 238580 11103 21487 0.00% 0.03% 0.00% 0 Per-minute Jobs 240 63468 3287296 19 0.08% 0.02% 0.02% 0 Atheros LED Ctro 114 2264 30324 74 0.08% 0.02% 0.00% 0 CEF process 118 59240 2568220 23 0.00% 0.02% 0.02% 0 SSS Feature Time 61 54220 2629794 20 0.00% 0.02% 0.00% 0 Netclock Backgro 276 39160 52720 742 0.00% 0.01% 0.00% 0 IP SNMP 278 22660 26358 859 0.08% 0.01% 0.00% 0 SNMP ENGINE 178 21780 1278454 17 0.00% 0.01% 0.00% 0 IPS Timer 39 55592 677604 82 0.00% 0.00% 0.00% 0 Net Background 284 23044 664944 34 0.00% 0.00% 0.00% 0 NTP 152 15688 655990 23 0.08% 0.00% 0.00% 0 RUDPV1 Main Proc
Command Equivalents
The Linux command equivalents are the ps command and top command
The Extreme command equivalent is the hidden top command
The Vyatta command equivalents are the show hardware cpu command and show system processes command
The Blue Coat ProxySG command equivalent is the show cpu command







