show cpu-monitoring

show cpu-monitoring {process name} {slot slotid}

Description

Displays the CPU utilization history of one or more processes.

Syntax Description

name Specifies the name of the process.
slotid Specifies the slot number of the MSM/MM module. "A" specifies the MSM installed in slot A. "B" specifies the MSM installed in slot B.
Note

Note

This parameter is available only on modular switches.

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

When you issue the command without any parameters, the switch displays CPU utilization history for all of the processes running on the MSMs/MMs installed in your system.

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:
  • Card—The location (MSM A or MSM B) where the process is running on a modular switch.
  • 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 truncated output from a modular switch:

CPU Utilization Statistics - Monitored every 5 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)
-------------------------------------------------------------------------------
MSM-A  System         0.0  0.0  0.1  0.0  0.0  0.0  0.0  0.9
MSM-B  System         0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
MSM-A  GNSS_cpuif     0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_ctrlif    0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_esmi      0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_fabric    0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_mac_10g   0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_pbusmux   0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_pktengine 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_pktif     0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  GNSS_switch    0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0       0.0
MSM-A  aaa            0.0  0.0  0.0  0.0  0.0  0.0  0.0  8.4  0.82      0.56
MSM-A  acl            0.0  0.0  0.0  0.0  0.0  0.0  0.0  7.5  0.37      0.33
MSM-A  bgp            0.0  0.0  0.0  0.0  0.0  0.0  0.0  5.2  0.27      0.42
MSM-A  cfgmgr         0.0  0.9  0.3  3.7  1.2  1.2  1.3  27.3 7.70      7.84
MSM-A  cli            0.0  0.0  0.0  48.3 9.6  2.5  2.1  48.3 0.51      0.37
MSM-A  devmgr         0.0  0.0  0.0  0.9  0.3  0.2  0.2  17.1 2.22      2.50
MSM-A  dirser         0.0  0.0  0.0  0.0  0.0  0.0  0.0  9.5  0.0       0.0
MSM-A  dosprotect     0.0  0.0  0.0  0.0  0.0  0.0  0.0  3.8  0.20      0.26
MSM-A  eaps           1.9  0.9  0.4  0.0  0.0  0.0  0.0  8.4  2.40      1.40
MSM-A  edp            0.0  0.0  0.0  0.0  0.0  0.0  0.0  10.2 0.99      0.47
MSM-A  elrp           0.0  0.0  0.0  0.0  0.0  0.0  0.0  8.4  0.44      0.28
MSM-A  ems            0.0  0.0  0.0  0.0  0.0  0.0  0.0  12.2 1.1       1.16
MSM-A  epm            0.0  0.0  0.0  0.9  0.1  0.2  0.2  4.7  2.6       4.18
MSM-A  esrp           0.0  0.0  0.0  0.0  0.0  0.0  0.0  7.5  0.44      0.36
MSM-A  etmon          0.9  0.4  0.6  1.2  1.1  1.0  1.0  23.3 21.84     7.24
...

The following is sample output from a Summit 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 all platforms.