cpu-core-usage

Use this command to set threshold percentage values for monitoring CPU core use.

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

Command Syntax

Copy
cpu-core-usage warning <51-100> alarm <91-100>
no cpu-core-usage

Parameters

<51-100>

Warning threshold percentage

<91-100>

Alarm threshold percentage

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)#cpu-core-usage warning 56 alarm 97
(config)#end
 
#show system-information cpu-load
 
System CPU-Load Information
===========================
 
Uptime                    : 64 Days 18 Hours 20 Minutes 12 Seconds
 
Load Average(1 min)       : 4.24% (Crit Thresh : 40%, Alert Thresh : 50%)
Load Average(5 min)       : 2.87% (Crit Thresh : N/A, Alert Thresh : 50%)
Load Average(15 min)      : 3.37% (Crit Thresh : N/A, Alert Thresh : 50%)
 
Avg CPU Usage             : 2.02%
CPU core 1 Usage          : 0.89% (Crit Thresh : 56%, Alert Thresh : 97%)
CPU core 2 Usage          : 0.00% (Crit Thresh : 56%, Alert Thresh : 97%)
CPU core 3 Usage          : 5.41% (Crit Thresh : 56%, Alert Thresh : 97%)
CPU core 4 Usage          : 2.68% (Crit Thresh : 56%, Alert Thresh : 97%)
 
#con t
Enter configuration commands, one per line.  End with CNTL/Z.
(config)#no cpu-core-usage
(config)#end
 
#show system-information cpu-load
 
System CPU-Load Information
===========================
 
Uptime                    : 64 Days 18 Hours 21 Minutes 46 Seconds
 
Load Average(1 min)       : 2.44% (Crit Thresh : 40%, Alert Thresh : 50%)
Load Average(5 min)       : 2.49% (Crit Thresh : N/A, Alert Thresh : 50%)
Load Average(15 min)      : 3.27% (Crit Thresh : N/A, Alert Thresh : 50%)
 
Avg CPU Usage             : 1.82%
CPU core 1 Usage          : 0.00% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 2 Usage          : 0.00% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 3 Usage          : 4.59% (Crit Thresh : 50%, Alert Thresh : 90%)
CPU core 4 Usage          : 1.82% (Crit Thresh : 50%, Alert Thresh : 90%)
#