230
Parameters
interval-value
: Specifies the CPU usage statistics sampling interval. It can take the value of
5Sec
,
1Min
,
or
5Min
. Enter a value in its complete form. Otherwise, the system prompts parameter error.
slot
slot-number
: Specifies a card by its slot number. If you do not specify this option, the command sets
the interval for the active MPU. (In standalone mode.)
chassis
chassis-number
slot
slot-number
: Specifies a card on an IRF member device by its slot number
and the member ID. If you do not specify this option, the command sets the interval for the global active
MPU. (In IRF mode.)
cpu
cpu-number
: Specifies a CPU by its number. The
cpu-number
argument must be 0.
Examples
# Configure the interval at which the device samples CPU usage statistics as 5 seconds.
<Sysname> system-view
[Sysname] monitor cpu-usage interval 5Sec
Related commands
•
display cpu-usage
•
display cpu-usage configuration
•
display cpu-usage history
•
monitor cpu-usage enable
•
monitor cpu-usage threshold
monitor cpu-usage threshold
Use
monitor cpu-usage threshold
to set the CPU usage threshold.
Use
undo monitor cpu-usage threshold
to restore the default.
Syntax
In standalone mode:
monitor cpu-usage threshold
cpu-threshold
[
slot
slot-number
[
cpu
cpu-number
] ]
undo monitor cpu-usage threshold
[
slot
slot-number
[
cpu
cpu-number
] ]
In IRF mode:
monitor cpu-usage threshold
cpu-threshold
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
undo monitor cpu-usage threshold
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
Default
The CPU usage threshold is 99%
Views
System view
Predefined user roles
network-admin