Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 8 down vote accepted

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.

share|improve this answer
    
Thanks for your answer, What is the difference between tps and IOPs? Are they same? –  Rajkumar S Aug 4 '11 at 9:23
1  
They are the same thing. –  womble Aug 4 '11 at 9:26

Install sysstat package if you don't have it already and then use command sar -d 1. Watch the tps column. It gives you at least the ballpark figure.

But remember that actual maximum number of IOPS varies heavily depending on your server workload. A server with lots of sequential access might get more IOPS than a one doing lots of random access.

share|improve this answer
    
Thanks for your answer. –  Rajkumar S Aug 4 '11 at 9:10

Look at nmon as an option for a nicer presentation of the same data.

http://www.ibm.com/developerworks/aix/library/au-analyze_aix/

share|improve this answer
    
Thanks for the tip, I will take a look at nmon. –  Rajkumar S Aug 4 '11 at 9:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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