Method used to develop performance statistics by using the common line interface

You can perform the following operations to develop performance statistics by using the CLI:
1. Fault location and rectification
You can use the CLI to manually collect performance data.
2. Solution
You can collect performance data through ports and LUNs. The following commands are entered and performed in sequence in CLI mode and their displayed results are saved in logs.
a. Collecting data by port
OceanStor: admin> chgstatswitch -o -p
OceanStor: admin> statperf -p
Enter the above commands at an interval of 3s for 10 times.
OceanStor: admin> chgstatswitch -c -p
Based on port statistics, the maximum latency is not more than 1.5s, the average latency is not more than 300 ms, and I/O processing is in normal state.
b. Collecting data by LUN
OceanStor: admin> chgstatswitch -o -l
OceanStor: admin> statperf -l
Enter the above commands at an interval of 3 seconds for 10 times.
OceanStor: admin> chgstatswitch -c -1

Scroll to top