F3215-HP Load Balancing Module System Management Command Reference-6PW101
58
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 hard disk. The from-device keyword is not
supported.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management 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.
Usage guidelines
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 number latest records,
starting from the last (offset+1)th record.
Examples
# Display 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 record entries in CPU usage statistics.
<Sysname> display cpu-usage 2 4
===== CPU usage info (no: 0 idx: 58) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2012-07-10 10:56:55
CPU Usage Stat. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x95030517(CPU Tick Low)
===== CPU usage info (no: 1 idx: 57) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2012-07-10 10:55:55
CPU Usage Stat. Tick : 0x1d9c(CPU Tick High) 0xa50e5351(CPU Tick Low)
Actual Stat. Cycle : 0x0(CPU Tick High) 0x950906af(CPU Tick Low)
Table 12 Command output
Field Descri
p
tion
Unit CPU usage CPU usage rates.