Related commands
display cpu-usage configuration
monitor resend cpu-usage
Use
monitor resend cpu-usage
Use
undo monitor resend cpu-usage
Syntax
monitor
severe-interval severe-interval } *
undo monitor resend cpu-usage [ minor-interval | severe-interval ]
Default
The minor CPU usage alarm resending interval is 300 seconds. The severe CPU usage alarm
resending interval is 60 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
minor-interval minor-interval
in seconds, a multiple of 5 in the range of 10 to 3600.
severe-interval severe-interval
interval in seconds, a multiple of 5 in the range of 10 to 3600.
Usage guidelines
The device samples CPU usage at intervals, and compares the samples with CPU usage thresholds
to identify the CPU usage status and send alarms or notifications accordingly.
In minor alarm state, the device sends minor alarms periodically until the CPU usage increases
above the severe threshold or the minor alarm is removed. In severe alarm state, the device sends
severe alarms periodically until the severe alarm is removed. This command sets the alarm
resending intervals.
If you do not specify a keyword for the
command restores the default minor and severe CPU usage alarm resending intervals.
Examples
# Set the minor CPU usage alarm resending interval to 60 seconds.
<Sysname> system-view
[Sysname] monitor resend cpu-usage minor-interval 60
resource-monitor minor resend enable
Use
resource-monitor minor resend enable
depletion alarms.
Use
undo resource-monitor minor resend enable
depletion alarms.
resend
cpu-usage
to set CPU usage alarm resending intervals.
to restore the default.
{
minor-interval
: Specifies the minor CPU usage alarm resending interval
: Specifies the severe CPU usage alarm resending
undo monitor resend cpu-usage
to enable resending of minor resource
to disable resending of minor resource
23
minor-interval
command, the
|