How To Get IOPS (total read & write operations) In Linux

Use iostat from the sysstat package:

iostat -d sda | grep sda | awk '{ print $2; }'

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.