system-load-average

Use this command to set threshold percentage values for monitoring the system load average for the last 1 minute, 5 minutes, and 15 minutes.

Use the no form of this command to set the default thresholds.

Command Syntax

Copy
system-load-average (1min warning <41-100> alarm <51-100> 5min alarm <51-100> 15min alarm <51-100>)
no system-load-average

Parameters

1min warning

Load average for last 1 minute

<41-100>

Warning threshold in percent

alarm

Alarm

<51-100>

Alarm threshold in percent

5min alarm

Load average for last 5 minutes

<51-100>

Alarm threshold in percent

15min alarm

Load average for last 15 minutes

<51-100>

Alarm threshold in percent

Default

Check the default thresholds using the show system-information command with the cpu-load parameter.

Command Mode

Configure mode

Applicability

This command was introduced in OcNOS version 1.3.6.

Example

Copy
(config)#system-load-average 1min warning 45 alarm 55 5min alarm 65 15min alarm 75
(config)#end
 
#show system-information cpu-load
 
System CPU-Load Information
===========================
 
Uptime                    : 64 Days 17 Hours 56 Minutes 22 Seconds
 
Load Average(1 min)       : 5.74% (Crit Thresh : 45%, Alert Thresh : 55%)
Load Average(5 min)       : 3.71% (Crit Thresh : N/A, Alert Thresh : 65%)
Load Average(15 min)      : 3.21% (Crit Thresh : N/A, Alert Thresh : 75%)
 
Avg CPU Usage             : 4.67%
CPU core 1 Usage          : 4.42% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 2 Usage          : 2.68% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 3 Usage          : 6.19% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 4 Usage          : 5.36% (Crit Thresh : 50%, Alert Thresh : 90%)
 
#con t
Enter configuration commands, one per line.  End with CNTL/Z.
(config)#no system-load-average
(config)#end
 
#show system-information cpu-load
 
System CPU-Load Information
===========================
 
Uptime                    : 64 Days 18 Hours 16 Minutes 34 Seconds
 
Load Average(1 min)       : 0.63% (Crit Thresh : 40%, Alert Thresh : 50%)
Load Average(5 min)       : 1.90% (Crit Thresh : N/A, Alert Thresh : 50%)
Load Average(15 min)      : 3.11% (Crit Thresh : N/A, Alert Thresh : 50%)
 
Avg CPU Usage             : 2.07%
CPU core 1 Usage          : 1.83% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 2 Usage          : 0.00% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 3 Usage          : 6.36% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 4 Usage          : 0.93% (Crit Thresh : 50%, Alert Thresh : 90%)