HP A7500 Series Command Reference Manual page 165

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

statistics, and its value ranges from 0 to 60 cyclically. The system collects CPU usage statistics periodically,
and records the average CPU usage for each period, with the idx value added by 1 for each period.
verbose: Displays the average CPU usage statistics for each task in the specified period. If this keyword
is not provided, the command displays brief CPU usage statistics.
slot slot-number: Displays the CPU usage statistics for a card. The slot-number argument specifies the slot
number of the card. If no card is specified, the command displays the CPU usage statistics for all cards.
(In standalone mode)
chassis chassis-number slot slot-number: Displays the CPU usage statistics for the specified card on an IRF
member switch. The chassis-number argument represents the IRF member ID of the switch, and the
slot-number argument represents the number of the slot that holds the card. If no card is specified, the
command displays the CPU usage statistics for all cards in the IRF fabric. (In IRF mode)
cpu cpu-number: Displays the CPU usage statistics for the specified CPU. If no CPU is specified, the
command displays the CPU usage statistics for all CPUs of the specified card or switch.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display cpu-usage command to display CPU usage statistics.
The system regularly (typically at 60-second intervals) collects CPU usage statistics and saves the
statistical results in the history record area. The maximum number of records that can be saved depends
on your device model.
The display cpu-usage entry-number command displays entry-number latest records, starting from the
latest record. The display cpu-usage entry-number offset command displays entry-number latest records,
starting from the last (offset+1)th record.
Examples
# In standalone mode, display the current CPU usage statistics.
<Sysname> display cpu-usage
Slot 0 CPU usage:
1% in last 5 seconds
1% in last 1 minute
1% in last 5 minutes
Slot 2 CPU usage:
8% in last 5 seconds
8% in last 1 minute
8% in last 5 minutes
Slot 3 CPU usage:
13% in last 5 seconds
13% in last 1 minute
13% in last 5 minutes
# In IRF mode, display the current CPU usage statistics for all cards.
158

Advertisement

Table of Contents
loading

Table of Contents