R211x-HP Flexfabric 11900 Fundamentals Command Reference

266
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 configure the interval at which the device samples CPU usage
statistics.
Syntax
In standalone mode:
monitor cpu-usage interval interval-value [ slot slot-number ]
In IRF mode:
monitor cpu-usage interval interval-value [ chassis chassis-number slot slot-number ]
Default
The sampling interval is 1 minute.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interval-value: Specifies the CPU usage statistics sampling interval. It can take a 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. Without 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. Without this option, the command sets the interval for the global active MPU. (In IRF
mode.)
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