R3204P16-HP Load Balancing Module System Management Command Reference-6PW101
51
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 CF card. The LB module does not support
the from-device keyword.
Description
Use the display cpu-usage command to display the CPU usage statistics.
The system collects the statistics of CPU usage at intervals (usually every 60 seconds) and saves the
statistics in the history record area. 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.
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: 0 idx: 4) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-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: 3) =====
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage : 3%
CPU Usage Stat. Time : 2006-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 9 Output description
Field Descri
p
tion
Unit CPU usage CPU usage statistics
1% in last 5 seconds
After the LB module boots, the system calculates and records the average CPU
usage in every five seconds.
This field displays the average CPU usage in the last five seconds.