reset cpu-usage record

Function

The reset cpu-usage record command clears CPU usage statistics on a device.

Format

reset cpu-usage record [ slot slot-id | all ]

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

all

Resets records of all boards.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

Usage Scenario

Before collecting CPU usage statistics of devices in a specified period, run the

reset cpu-usage record command to delete existing statistics.

  • Run the reset cpu-usage record command to delete CPU usage statistics of the main control board.
  • Run the reset cpu-usage record slot command to delete CPU usage statistics of the specified board.
  • Run the reset cpu-usage record all command to delete the CPU usage statistics of all boards.

Precautions

This command is supported only on the admin VS.

The CPU usage statistics cannot be restored after they are deleted. Exercise caution when running the reset cpu-usage record command.

Example

# Clear CPU history information for all single boards.
<HUAWEI> system-view
[~HUAWEI] reset cpu-usage record all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >