Linux – Measure Linux IOPS for a running system

linuxperformanceperformance-monitoringstorage

How do I measure IOPS of a running Linux server? I know that the theoretical IOPS of a SATA drive is around 90 and enterprise 10k SAS/FC disk is 180. I want to know how much my running system is using currently?

Currently I am using iotop and iostat. But both utilities do not give the IOPS number.

btw, this question is not a duplicate of this. I am not looking for benchmarking my storage system, but figure out how much IOPS is being used by my current system.

Best Answer

Uhm... iostat on my system shows the IOPS:

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               1.00        64.00         0.00         64          0

Might want to look at upgrading.