Display Cpu-Usage - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Examples
# Display the current time and date.
<Sysname> display clock
09:41:23 UTC Thu 12/15/2005

display cpu-usage

Syntax
display cpu-usage [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include }
regular-expression ]
display cpu-usage entry-number [ offset ] [ verbose ] [ slot slot-number [ cpu cpu-number ] ]
[ from-device ]
View
Any view
Default level
1: Monitor level
Parameters
entry-number: Number of entries to be displayed, which ranges from 1 to 60.
offset: Offset between the serial number of the first CPU usage statistics record to be displayed and that
of the last CPU usage record to be displayed. It ranges from 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 ranges from 0 to 60 cyclically. The system makes CPU usage statistics
periodically, and the system records the average CPU usage during this period, and the idx value is
added by 1 automatically.
verbose: Displays detailed information of CPU usage statistics. If this keyword is provided, the system
displays the average CPU usage statistics for each task in the specified period. If this keyword is not
provided, the system displays the brief information of the CPU usage statistics.
from-device: Displays the external storage medium, such as a Flash or hard disk. The device currently
does not support the from-device keyword.
slot slot-number: Displays the statistics of the CPU usage of the specified member device. The slot-number
argument is the ID of a member device of the current IRF virtual device. If the slot-number argument is not
provided, the system displays the statistics of the CPU usage of all member devices.
|: 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, which is a case-sensitive string of 1 to 256 characters.
cpu cpu-number: Displays the CPU usage statistics of the specified CPU. Support for this keyword
depends on your device model. If the cpu-number argument is not provided, the system displays the CPU
usage statistics of all CPUs of the specified card or member device.
127

Advertisement

Table of Contents
loading

Table of Contents