Parameter | Description | Value |
---|---|---|
taskname |
Displays the performance statistics of a specified performance statistics task. |
The value is a string of 1 to 31 case-insensitive characters, spaces not supported. The string contains letters, digits, and underscores (_), and must start with letters or digits. |
data-index index |
Displays the performance statistics collected at a specified interval. |
The value is an integer ranging from 0 to 16. |
instance-type instance-type-name |
Specifies the type of an instance bound to a performance statistics task. The instance type is predefined in each feature. Each instance type is defined in a feature. |
The value is a string of 1 to 63 case-insensitive characters, spaces not supported. |
measure measure-name |
Displays the performance statistics based on a specified counter. The performance counter is predefined for each feature. |
The value is a string of 1 to 63 case-insensitive characters, spaces not supported. |
instance vpn-instance-name |
Specifies the name of an instance of a specific type. The format of the instance name is predefined in each feature. |
The value is a string of 1 to 255 case-insensitive characters, spaces supported. |
Usage Scenario
To view the existing or historical performance statistics, run the display pm statistics command. The system can display the existing performance statistics and historical performance statistics collected at a maximum of 16 intervals.
Prerequisites
An instance has been bound to the existing performance statistics task and statistics counters have been configured.
The performance statistics function has been enabled for the existing performance statistics task.
Precautions
To view the existing performance statistics, ensure that the performance statistics task is running.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display pm statistics a data-index 0 Total measures count: 29 -------------------------------------------------------------------------------- Instance Type : interface Instance Name : GigabitEthernet0/1/1 Measure Name : in-discards Measure Data : 10 Valid Flag : valid Timestamp : 2011-04-23 18:16:30 UTC-08:00 ......
Item | Description |
---|---|
Total measures count | Total number of measures. |
Instance Type | Type of an instance bound to a performance statistics task. |
Instance Name | Type of an instance bound to a performance statistics task. |
Measure Name | Name of a performance statistics counter. |
Measure Data | Statistics counter. 0: The statistics counter is not supported. |
Valid Flag | Valid flag of the performance statistics:
|
Timestamp | Date and time when the performance statistics were collected. The value is in the following format:
UTC±HH:MM indicates that a time zone is set using the clock timezone command; DST indicates that the daylight saving time is set using the clock daylight-saving-time command. |