Anyone know how to get Fiber Channel adapter performance statistics out of Linux? I.E throughput.


You can treat it like normal I/O device and collect information using iostat during high I/O/. You can also use tools like iozone.


You could look at the files in /sys/class/fc_host/hostX/statistics (where X is the number of your HBA), computing a rate from the absolute numbers. The number are in hex (0x...) for some obscure reason. This works for Emulex (lpfc) and Brocade (bfa) HBAs at least.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.