
259
Parameters
interval-value
: Specifies the CPU usage sampling interval. Valid values include
5Sec
for 5 seconds,
1Min
for 1 minute, and
5Min
for 5 minutes.
slot
slot-number
: Specifies an IRF member device by its member ID or a PEX by its virtual slot
number. If you do not specify this option, the command sets the CPU usage sampling interval for the
master device.
cpu
cpu-number
: Specifies a CPU by its number. The
cpu-number
argument must be 0.
Examples
# Set the CPU usage sampling interval to 5 seconds.
<Sysname> system-view
[Sysname] monitor cpu-usage interval 5Sec
Related commands
•
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 CPU usage thresholds.
Use
undo monitor cpu-usage threshold
to restore the defaults.
Syntax
monitor cpu-usage threshold cpu-threshold
[
slot
slot-number
[
cpu
cpu-number
] ]
undo monitor cpu-usage threshold
[
slot
slot-number
[
cpu
cpu-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 or a PEX by its virtual slot
number. If you do not specify this option, the command the CPU usage threshold for the master
device.
cpu
cpu-number
: Specifies a CPU by its number. The
cpu-number
argument must be 0.
Usage guidelines
The device samples CPU usage at an interval of 1 minute, and compares the sample with the CPU
usage threshold. If the sample is greater than the CPU usage threshold, the device sends a trap.
Examples
# Set the CPU usage threshold to 80%.
<Sysname> system-view
Содержание S5830V2 series
Страница 23: ...11 System View return to User View with Ctrl Z Sysname...
Страница 167: ...155 Related commands display startup...