Anyone know how to get Fiber Channel adapter performance statistics out of Linux? I.E throughput.
Asked
Active
Viewed 4,339 times
2 Answers
3
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.

Minto Joseph
- 146
- 3
1
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.

U. Windl
- 366
- 3
- 17