beautypg.com

Common diagnostic scenarios, Managing memory and cpu usage, Cpu usage show command – Brocade 6910 Ethernet Access Switch Diagnostic Guide (Supporting R2.2.0.0) User Manual

Page 18: Displaying tcam settings, Determining if a device is running out of tcam

background image

8

Brocade 6910 Ethernet Access Switch Diagnostic Guide

53-1002653-01

2

DRAFT: BROCADE CONFIDENTIAL

Managing memory and CPU usage

Common diagnostic scenarios

When troubleshooting TCAM issues, it is helpful to know when a device is running out of TCAM. The
following sections describe how to monitor TCAM usage.

Displaying TCAM settings

When a Brocade device boots, the system automatically sets default TCAM partitions.

The default TCAM settings are the same as the default partition percentage settings.

NOTE

The default TCAM partitions are fixed, and cannot be configured.

Determining if a device is running out of TCAM

The output of the show access-list tcam-utilization command will indicate if the device is running
out of TCAM.

Managing memory and CPU usage

To achieve maximum performance, it is important to understand CPU usage and memory issues in
the Brocade 6910 switches. The following sections discuss how to manage memory and CPU
usage.

The first step in determining how your device is using memory and the CPU is to get a view of the
activity. Several show commands display information about CPU usage and memory usage.

CPU usage show command

There is one command that shows the overall usage of the CPU, and the configured thresholds
used for sending an SNMP trap message.

show process cpu

Syntax: show process cpu

The show process cpu command displays overall CPU usage and alarm message thresholds, as
shown in the following example.

Console# show process cpu

CPU Utilization in the past 5 seconds : 19%

CPU Utilization in the past 60 seconds

Average Utilization : 16%

Maximum Utilization : 21%

Alarm Status

Current Alarm Status : Off

Last Alarm Start Time : Jun 17 07:42:29 2011

Last Alarm Duration Time : 20 seconds

Alarm Configuration

Rising Threshold : 90%