monitor cpu-usage threshold
Use monitor cpu-usage threshold to set CPU usage thresholds.
Use undo monitor cpu-usage threshold to restore the defaults.
Syntax
monitor cpu-usage threshold cpu-threshold [ slot slot-number ]
undo monitor cpu-usage threshold [ slot slot-number ]
Default
The CPU usage threshold is 99%.
Views
System view
Predefined user roles
network-admin
Parameters
cpu-threshold: Specifies a CPU usage threshold in percentage. The value range is 0 to 100.
slot slot-number: Specifies an IRF member device by its member ID. Without this option, the command
sets the CPU usage threshold for the master.
Usage guidelines
If a CPU usage threshold is reached, the device sends a trap.
Examples
# Set the CPU usage threshold to 80%.
<Sysname> system-view
[Sysname] monitor cpu-usage threshold 80
Related commands
display cpu-usage
•
display cpu-usage configuration
•
•
display cpu-usage history
monitor cpu-usage enable
•
monitor cpu-usage interval
•
password-recovery enable
Use password-recovery enable to enable password recovery capability.
Use undo password-recovery enable to disable password recovery capability.
Syntax
password-recovery enable
undo password-recovery enable
223