bgr showcounter
Function
Usage Guidelines
If the BGR module is abnormal, you can run this command to view the number of asynchronous interfaces on the BGR module.
Example
View the number of asynchronous interfaces on the BGR module.
admin:/diagnose>bgr showcounter Name Start Back Good Back Retry Back Bad Not Back avgLatency maxLatency occurTime ------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------------- BGR_COUNTER_HANG 27 27 0 0 0 0 0 ---- BGR_COUNTER_UNHANG 27 27 0 0 0 0 0 ---- BGR_COUNTER_BLOCK 0 0 0 0 0 0 0 ---- BGR_COUNTER_UNBLOCK 0 0 0 0 0 0 0 ---- BGR_COUNTER_CREATE_JOB 4 4 0 0 0 0 0 ---- BGR_COUNTER_CANCEL_JOB 0 0 0 0 0 0 0 ---- BGR_COUNTER_COMPLETE_JOB 0 0 0 0 0 0 0 ---- BGR_COUNTER_GET_NEXT_CHUNK 2670901 2670901 0 0 0 11 10181 2018-07-27 15:29:39 BGR_COUNTER_CHUNK_COPY_DONE 0 0 0 0 0 0 0 ---- BGR_COUNTER_READ_CHUNK 2690992 2690992 0 0 0 35 10576 2018-07-27 15:29:39 BGR_COUNTER_WRITE_ALLOC 0 0 0 0 0 0 0 ---- BGR_COUNTER_WRITE_CHUNK 2691076 2670544 20085 0 447 72 10477 2018-07-27 15:29:39 BGR_COUNTER_FS_WRITE_CHUNK 0 0 0 0 0 0 0 ---- BGR_COUNTER_ALLOC_SGL 2691202 2691202 0 0 0 0 0 ---- BGR_COUNTER_NOTIFY_PAIR 0 0 0 0 0 0 0 ---- BGR_COUNTER_SET_OVERLOAD 4 4 0 0 0 0 0 ----
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Start | Count of I/Os to the module. |
Back Good | Count of I/Os that successfully return. |
Back Retry | Count of I/Os for which a retry message is returned. |
Back Bad | Count of I/Os that unsuccessfully return. |
Not Back | Count of I/Os that do not return. |
avgLatency | Average latency. |
maxLatency | Maximum latency. |
occurTime | Point in time when the maximum latency occurs. |
BGR_COUNTER_HANG | Number of times that BGRs are suspended. |
BGR_COUNTER_UNHANG | Number of times that BGRs are resumed. |
BGR_COUNTER_BLOCK | Count of BGR blocks. |
BGR_COUNTER_UNBLOCK | Count of BGR unblocks. |
BGR_COUNTER_CREATE_JOB | Number of times that BGRs are created. |
BGR_COUNTER_CANCEL_JOB | Number of times that BGRs are canceled. |
BGR_COUNTER_COMPLETE_JOB | Number of times that BGRs are completed. |
BGR_COUNTER_GET_NEXT_CHUNK | Count of differences obtained by the BGR. |
BGR_COUNTER_CHUNK_COPY_DONE | Count of finished BGR difference copies. |
BGR_COUNTER_READ_CHUNK | Count of chunks read by the BGR. |
BGR_COUNTER_WRITE_ALLOC | Count of allocations written by the BGR. |
BGR_COUNTER_WRITE_CHUNK | Count of chunks written by the BGR. |
BGR_COUNTER_FS_WRITE_CHUNK | Count of file system chunks written by the BGR. |
BGR_COUNTER_ALLOC_SGL | Count of SGLs applied by the BGR. |
BGR_COUNTER_NOTIFY_PAIR | Count of BGR's notification to the PAIR module. |
BGR_COUNTER_SET_OVERLOAD | Count of BGR's overload settings. |