H3C S5120-SI Series Command Reference Manual page 597

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

Advertisement

View
Any view
Default Level
1: Monitor level
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 statistics record to be displayed and that
of the last CPU usage 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. 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; after each period,
the system records the average CPU usage during this period, and the idx value is added by 1
automatically.
verbose: Specifies to display detailed information of CPU usage statistics. If this keyword is not
provided, the system displays the brief information of the CPU usage statistics; if this keyword is
provided, the system displays the average CPU usage statistics for each task in the specified period.
from-device: Displays external storage media such as flash and hard disk. The device currently does
not support the from-device keyword.
Description
Use the display cpu-usage command to display the CPU usage statistics.
The system takes statistics of CPU usage at intervals (usually every 60 seconds) and saves the
statistical results in the history record area. The maximum number of records that can be saved
depends on the device model. display cpu-usage entry-number indicates the system displays
entry-number records from the newest (last) record. display cpu-usage entry-number offset indicates
the system displays number records from the last but offset record.
Equivalent to the display cpu-usage 1 0 verbose command, the display cpu-usage command
displays detailed information of the last CPU usage statistics record.
Examples
# Display information of the current CPU usage statistics.
<Sysname> display cpu-usage
Unit CPU usage:
1% in last 5 seconds
1% in last 1 minute
1% in last 5 minutes
# Display the last fifth and sixth records of the CPU usage statistics history.
<Sysname> display cpu-usage 2 4
===== CPU usage info (no:
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage
CPU Usage Stat. Time : 2006-07-10
CPU Usage Stat. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low)
0
idx: 58) =====
: 3%
10:56:55
1-4

Advertisement

Table of Contents
loading

Table of Contents