xnet showstat
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
controller | Controller ID. | The value ranges from 0 to the number of controllers minus one. |
link_type | Link type. | The value can be 0 or 1.
|
pid | Module ID. | The value ranges from 0 to 1023. |
Usage Guidelines
- This command is used by R&D engineers to locate faults.
- When running this command, ensure that parameter values are in the valid range.
Example
Query statistics of sending and receiving XNET messages between the current controller and module "47" of controller "1" through GE links.
admin:/diagnose>xnet showstat -c 1 -l 1 -p 47 xnet ETH link statistic : xnet controller 1 pid 47 send post count: 6413 xnet controller 1 pid 47 send req count: 56474 xnet controller 1 pid 47 send rsp count: 570678 xnet controller 1 pid 47 send success post count: 6412 xnet controller 1 pid 47 send success req count: 56474 xnet controller 1 pid 47 send success rsp count: 570678 xnet controller 1 pid 47 send timeout post count: 0 xnet controller 1 pid 47 send timeout req count: 0 xnet controller 1 pid 47 send timeout rsp count: 0 xnet controller 1 pid 47 add readyQ fail post count: 0 xnet controller 1 pid 47 add readyQ fail req count: 0 xnet controller 1 pid 47 add readyQ fail rsp count: 0 xnet controller 1 pid 47 send fail post count: 1 xnet controller 1 pid 47 send fail req count: 0 xnet controller 1 pid 47 send fail rsp count: 0 xnet controller 1 pid 47 rcv post count: 3 xnet controller 1 pid 47 rcv req count: 570679 xnet controller 1 pid 47 rcv rsp count: 56472 xnet controller 1 pid 47 rcv invalid post count: 0 xnet controller 1 pid 47 rcv invalid req count: 0 xnet controller 1 pid 47 rcv invalid rsp count: 0 xnet controller 1 pid 47 timeout post count: 0 xnet controller 1 pid 47 timeout req count: 2 xnet controller 1 pid 47 timeout rsp count: 0 xnet controller 1 pid 47 invalid success post count: 0 xnet controller 1 pid 47 invalid success req count: 0 xnet controller 1 pid 47 invalid success rsp count: 0 xnet controller 1 pid 47 ge to pcie count: 0
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
xnet ETH link statistic | Statistics collected through GE links. |
send post count | Count of sent post messages. |
send req count | Count of sent request messages. |
send rsp count | Count of sent response messages. |
send success post count | Count of successfully sent post messages. |
send success req count | Count of successfully sent request messages. |
send success rsp count | Count of successfully sent response messages. |
send timeout post count | Count of sent post messages that timed out. |
send timeout req count | Count of sent request messages that timed out. |
send timeout rsp count | Count of sent response messages that timed out. |
add readyQ fail post count | Count of failures to add post messages to queues. |
add readyQ fail req count | Count of failures to add request messages to queues. |
add readyQ fail rsp count | Count of failures to add response messages to queues. |
send fail post count | Count of post messages that failed to be sent. |
send fail req count | Count of request messages that failed to be sent. |
send fail rsp count | Count of response messages that failed to be sent. |
rcv post count | Count of received post messages. |
rcv req count | Count of received request messages. |
rcv rsp count | Count of received response messages. |
rcv invalid post | Count of invalid received post messages. |
rcv invalid req | Count of invalid received request messages. |
rcv invalid rsp | Count of invalid received response messages. |
timeout post count | Count of timed out post messages. |
timeout req count | Count of timed out request messages. |
timeout rsp count | Count of timed out response messages. |
invalid success post count | Count of invalid sending success notification post messages. |
invalid success req count | Count of invalid sending success notification request messages. |
invalid success rsp count | Count of invalid sending success notification response messages. |
ge to pcie count | Count of GE to PCIe. |