R3303-HP HSR6800 Routers Fundamentals Command Reference

143
display cpu-usage entry-number [ offset ] [ verbose ] [ slot slot-number [ cpu cpu-number ] ]
[ from-device ]
In IRF mode:
display cpu-usage [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
display cpu-usage entry-number [ offset ] [ verbose ] [ chassis chassis-number slot slot-number ]
[ from-device ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: M o n i t o r l eve l
Parameters
entry-number: Number of entries to be displayed, in the range of 1 to 60.
offset: Offset between the serial number of the first CPU usage rate record to be displayed and that of the
final CPU usage rate record to be displayed. It is in the range of 0 to 59.
For example, the idx of the latest statistics record is 12. If the offset is set to 3, the system will display the
statistics records from the one with the idx of 9, where idx represents the serial number of the period for
the statistics, and its value is in the range of 0 to 60 cyclically. The system collects CPU usage rates
periodically, and the system records the average CPU usage rate during this period, and the idx value is
added by 1 automatically.
verbose: Displays the average CPU usage statistics for each task in the specified period. If this keyword
is not provided, this command displays the brief information of the CPU usage statistics.
from-device: Displays the external storage medium, such as a USB disk. The from-device keyword is not
supported.
slot slot-number: Displays the CPU usage statistics for a card. The slot-number argument specifies the slot
number of a card. If no card is specified, this command displays the CPU usage statistics for all cards.
(In standalone mode.)
chassis chassis-number slot slot-number: Displays the CPU usage rates of the specified card on an IRF
member device. The chassis-number argument represents the IRF member ID of the device, and the
slot-number argument represents the number of the slot where the card resides. If no card is specified,
this command displays CPU usage statistics for all cards on all IRF member devices. (In IRF mode.)
cpu cpu-number: Displays the CPU usage rates of the specified CPU. If the cpu-number argument is not
provided, this command displays the CPU usage rates of all CPUs of the specified card or member
device.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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.