The document is intend to verify the different stats of the Fiber Channel storage adapters on ESXi host.
VMware ESXi 7.x
VMware ESXi 8.x
The below command can be used for the vmhba stats listing for Fiber channel storage. Run below command several times to confirm error count is increasing.
esxcli storage san fc stats get -A vmhbaX
Stats would report as below running the above command.
FcStat: Adapter: vmhbaX Tx Frames: 838258340 Rx Frames: 2615537484 Lip Count: 0 Error Frames: 430426 ===============> Frame Errors Dumped Frames: 0 Link Failure Count: 6 ==============> Link Failure Events Loss of Signal Count: 6 PrimSeq Protocol Err Count: 0 Invalid Tx Word Count: 516 Invalid CRC Count: 430426 ==========> CRC errors. Input Requests: 0 Output Requests: 0 Control Requests: 0
The below document has detailed list of commands can be used on ESXi host.