R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)
151
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable CPU usage monitoring.
monitor cpu-usage enable [ slot
slot-number [ cpu cpu-number ] ]
By default, CPU usage monitoring
is enabled.
3. Set the CPU usage sampling
interval.
monitor cpu-usage interval
interval-value [ slot slot-number
[ cpu cpu-number ] ]
By default, the CPU usage
sampling interval is 1 minute.
4. Exit to user view.
quit
N/A
5. Display CPU usage statistics.
display cpu-usage [ slot
slot-number [ cpu cpu-number ] ]
This command is available in any
view.
6. Display CPU usage monitoring
settings.
display cpu-usage configuration
[ slot slot-number [ cpu
cpu-number ] ]
This command is available in any
view.
7. Display the historical CPU
usage statistics in a coordinate
system.
display cpu-usage history [ job
job-id ] [ slot slot-number [ cpu
cpu-number ] ]
This command is available in any
view.
Setting memory usage thresholds
To ensure correct operation and improve memory utilization, the system monitors the amount of free
memory space in real time. When a threshold is exceeded, the system generates an alarm notification or
an alarm-removed notification and sends it to affected service modules or processes.
As shown in Table 13 and Figure 57, the s
y
stem supports the following thresholds:
• Normal state threshold.
• Minor alarm threshold.
• Severe alarm threshold.
• Critical alarm threshold.
Table 13 Memory alarm notifications and memory alarm-removed notifications
Notification Triggering condition Remarks
Minor alarm notification
The amount of free memory space
decreases to or below the minor
alarm threshold for the first time.
After generating and sending a minor alarm
notification, the system does not generate
and send any additional minor alarm
notifications until the first minor alarm is
removed.
Severe alarm notification
The amount of free memory space
decreases to or below the severe
alarm threshold for the first time.
After generating and sending a severe alarm
notification, the system does not generate
and send any additional severe alarm
notifications until the first severe alarm is
removed.
Critical alarm notification
The amount of free memory space
decreases to or below the critical
alarm threshold for the first time.
After generating and sending a critical alarm
notification, the system does not generate
and send any additional critical alarm
notifications until the first critical alarm is
removed.