clear cpu-monitoring

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

Description

Clears, resets the CPU utilization history and statistics stored in the switch.

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: This parameter is available only on modular switches.

Default

N/A.

Usage Guidelines

When you do not specify any keywords, this command clears the CPU utilization history for the entire switch, including processes, and resets the statistics to zero (0). On modular switches, this command also clears the CPU utilization history of the installed MSMs/MMs.

When you specify process, the switch clears and resets the CPU utilization history for the specified process.

Modular Switches Only

When you specify slot, the switch clears and resets the CPU utilization history for the specified MSM/MM.

Example

The following command resets the CPU history and resets the statistics to 0 for the TFTP process running on the MSM/MM installed in slot A of a modular switch:

clear cpu-monitoring process tftpd slot A

The following command resets the CPU history and resets statistics to 0 for the TFTP process running on a Summit family switch:

clear cpu-monitoring process tftpd

History

This command was first available in ExtremeXOS 11.2.

Platform Availability

This command is available on all platforms.