show cpu-monitoring

show cpu-monitoring {process name}

Description

Displays the CPU utilization history of one or more processes.

Syntax Description

name Specifies the name of the process.

Default

N/A.

Usage Guidelines

Viewing statistics on a regular basis allows you to see how well your network is performing. If you keep simple daily records, you will see trends emerging and notice problems arising before they cause major network faults. This way, statistics can help you get the best out of your network.

By default, CPU monitoring is enabled and occurs every 5 seconds. The default CPU threshold value is 90%.

This information may be useful for your technical support representative if you experience a problem.

Depending on the software version running on your switch or your switch model, additional or different CPU and process information might be displayed.

SummitStack Only

When you issue the command with out any parameters:
  • From the stack manager or backup node, the stack displays CPU utilization history for all the processes running on the master node and the backup node in the Active Topology.
  • From the stack manager or a standby node, the stack displays CPU utilization history for all the processes running on the master node and the standby node in the Active Topology.

Modular Switches Only

Reading the Output

The show cpu-monitoring command is helpful for understanding the behavior of a process over an extended period of time. The following information appears in a tabular format:
  • Process—The name of the process.
  • Range of time (5 seconds, 10 seconds, and so forth)—The CPU utilization history of the process or the system. The CPU utilization history goes back only 1 hour.
  • Total User/System CPU Usage—The amount of time recorded in seconds that the process spends occupying CPU resources. The values are cumulative meaning that the values are displayed as long as the system is running. You can use this information for debugging purposes to see where the process spends the most amount of time: user context or system context.

Example

The following example displays CPU utilization on the switch:

show cpu-monitoring

The following is sample output from a switch:

CPU Utilization Statistics - Monitored every 25 seconds
-----------------------------------------------------------------------
Process        5   10   30   1     5    30   1   Max       Total
secs secs secs min  mins mins hour        User/System
util util util util util util util util   CPU Usage
(%)  (%)  (%)  (%)   (%)  (%)  (%)  (%)    (secs)
-----------------------------------------------------------------------
System         n/a  n/a  0.0  0.9  0.1  0.2  0.5  34.6
aaa            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  1.72      0.78
acl            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.40      0.24
bgp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  12.6 11.18     2.21
cfgmgr         n/a  n/a  0.0  0.0  0.0  0.0  0.8  39.8 4743.92   3575.79
cli            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.59      0.42
devmgr         n/a  n/a  0.0  0.0  0.0  0.0  0.0  19.5 74.44     24.52
dirser         n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
dosprotect     n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.8       0.12
eaps           n/a  n/a  0.0  0.0  0.0  0.0  0.1  5.5  36.40     15.41
edp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  11.1 10.92     3.97
elrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.49      0.44
ems            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  1.19      1.29
epm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  30.7 48.74     32.93
esrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  2.7  0.82      0.45
etmon          n/a  n/a  0.0  0.0  0.0  0.0  0.5  30.5 4865.78   873.87
...

The following is sample truncated output from a stack:

Slot-1 stacK.3 # sh cpu-monitoring
CPU Utilization Statistics - Monitored every 20 seconds
-------------------------------------------------------------------------------
Card   Process        5   10   30   1     5    30   1   Max       Total
secs secs secs min  mins mins hour        User/System
util util util util util util util util   CPU Usage
(%)  (%)  (%)  (%)   (%)  (%)  (%)  (%)    (secs)
-------------------------------------------------------------------------------
Slot-1 System         n/a  n/a  0.0  1.6  0.8  0.5  0.5  2.5
Slot-6 System         n/a  n/a  0.3  0.9  0.7  0.4  0.5  4.6
Slot-1 aaa            n/a  n/a  0.0  0.0  0.0  0.0  0.0  3.6  1.22      0.75
Slot-1 acl            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  1.8       0.52
Slot-1 bgp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
Slot-1 brm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  0.53      0.17
Slot-1 cfgmgr         n/a  n/a  0.1  0.0  0.0  0.0  0.0  0.8  3.18      0.65
Slot-1 cli            n/a  n/a  0.9  0.8  0.1  0.0  0.3  97.2 13.7      2.12
Slot-1 devmgr         n/a  n/a  0.0  0.0  0.0  0.0  0.0  5.0  1.1       1.24
Slot-1 dirser         n/a  n/a  0.0  0.0  0.0  0.0  0.0  5.9  0.0       0.0
Slot-1 dosprotect     n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.18      0.12
Slot-1 eaps           n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.3  0.92      0.45
Slot-1 edp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.3  0.68      0.20
Slot-1 elrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.9  0.49      0.21
Slot-1 elsm           n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.3  0.38      0.34
Slot-1 ems            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.3  1.0       0.41
Slot-1 epm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.3  1.63      1.28
Slot-1 esrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.9  0.50      0.21
Slot-1 etmon          n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  4.0       0.65
...
...
Slot-1 stp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.9  0.67      0.27
Slot-1 telnetd        n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.5  0.23      0.6
Slot-1 tftpd          n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.19      0.10
Slot-1 thttpd         n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.8  0.21      0.13
Slot-1 upm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  0.43      0.22
Slot-1 vlan           n/a  n/a  0.0  0.0  0.0  0.0  0.1  4.3  4.28      1.56
Slot-1 vrrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  0.38      0.13
Slot-1 xmld           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.48      0.25
Slot-6 aaa            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.42      0.26
Slot-6 acl            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.40      0.26
Slot-6 bgp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
Slot-6 brm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.18      0.7
Slot-6 cfgmgr         n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.81      0.28
Slot-6 cli            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.9  7.17      1.2
Slot-6 devmgr         n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.35      0.88
Slot-6 dirser         n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
Slot-6 dosprotect     n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.6       0.2
Slot-6 eaps           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.60      0.20
Slot-6 edp            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.23      0.11
Slot-6 elrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.9  0.20      0.4
Slot-6 elsm           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.21      0.9
Slot-6 ems            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.44      0.22
Slot-6 epm            n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  1.78      1.29
Slot-6 esrp           n/a  n/a  0.0  0.0  0.0  0.0  0.0  0.0  0.24      0.8
Slot-6 etmon          n/a  n/a  0.0  0.0  0.0  0.0  0.0  1.8  1.11      0.28
...

History

This command was first available in an ExtremeXOS 11.2.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.