R0106-HP MSR Router Series Fundamentals Command Reference(V7)

240
<Sysname> system-view
[Sysname] memory-threshold minor 64 severe 48 critical 32 normal 96
monitor cpu-usage enable
Use monitor cpu-usage enable to enable CPU usage monitoring.
Use undo monitor cpu-usage enable to disable CPU usage monitoring.
Syntax
MSR2000/MSR3000:
monitor cpu-usage enable
undo monitor cpu-usage enable
MSR4000:
monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]
undo monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]
Default
CPU usage monitoring is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command
enables CPU usage monitoring for the active MPU. (On an MSR4000.)
cpu cpu-number: Specifies a CPU by its number. If you do not specify this option, the command sets
memory usage thresholds for the default CPU.
Examples
# Enable CPU usage monitoring.
<Sysname> system-view
[Sysname] monitor cpu-usage enable
Related commands
display cpu-usage
display cpu-usage configuration
display cpu-usage history
monitor cpu-usage interval
monitor cpu-usage interval
Use monitor cpu-usage interval to set the CPU usage sampling interval.
Syntax
MSR2000/MSR3000: