Resource class settings, Displaying the system flash parameters, Cpu and memory – Brocade Fabric Watch Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 91: Examples of the cpu and memory commands, Displaying the current cpu usage threshold

Advertising
background image

--config env -area temp -highth -value 99

-trigger above -action raslog

2. Apply the changes:

switch:admin> sysmonitor

--apply env -area temp -action_level cust -thresh_level cust

Resource class settings

The flash area of the Resource class monitors the percentage of compact flash memory used on the
system.

Displaying the system flash parameters

Enter the sysMonitor command using the following parameters:

switch:admin> sysmonitor --show resource -area flash

CPU and memory

When configuring CPU monitoring, you must specify a value in the range from 1 through 100. When the
CPU usage exceeds the limit, a Fabric Watch alert is triggered. The default CPU limit is 75 percent.

When configuring memory, the limit specifies a usage limit as a percentage of available resources.

When used to configure memory monitoring, the -limit value must be greater than the low limit and
smaller than the high limit.

The following operands are valid only with the --config mem operand. Three thresholds are supported
for memory monitoring:

high_limit — Specifies an upper usage limit for memory as percentage of available memory. This

value must be greater than the value set by the -limit parameter. The maximum is 90 percent. When
memory usage exceeds this limit, Fabric Watch generates a RASLog CRITICAL message. The
default is 80 percent.

limit — Specifies the default CPU limit. When the limit is exceeded, Fabric Watch sends out a

RASLog WARNING message. When usage returns below the limit, Fabric Watch sends a RASLog
INFO message. Valid values are range from 0 through 80 percent and the default value is different
for different systems.

low_limit — Specifies a lower usage limit for memory as percentage of available memory. This value

must be smaller than the value set by the -limit parameter. When memory usage exceeds or falls
below this limit, Fabric Watch generates a RASLog INFO message. The default for all platforms is 50
percent.

Examples of the CPU and memory commands

The following sections provides specific examples for CPU and memory.

Displaying the current CPU usage threshold

Enter the sysMonitor command using the following parameters:

switch:admin> sysmonitor --show cpu

CPU Usage : 2%

CPU Usage Limit : 75%

Number of Retries :3

Polling Interval : 120 seconds

Actions: snmp

Resource class settings

Fabric Watch Administrators Guide

91

53-1003142-01

Advertising