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 on 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 enables CPU usage monitoring 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
# 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 threshold
•
monitor cpu-usage interval
Use monitor cpu-usage interval to configure the interval at which the device samples CPU usage
statistics.
Syntax
In standalone mode:
monitor cpu-usage interval interval-value [ slot slot-number [ cpu cpu-number ] ]
In IRF mode:
monitor cpu-usage interval interval-value [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]
Default
The sampling interval is 1 minute.
Views
System view
Predefined user roles
network-admin
229