This question already has an answer here:

How can I preferable from the terminal measure the read and write speeds of /dev/sdx?

marked as duplicate by muru, Jeff Schaller, Thomas Dickey, Braiam, Community Jan 1 '16 at 3:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The easiest way is to use this command:


Typical usage and output:

# hdparm -tT /dev/sda1
 Timing cached reads:   2408 MB in  2.00 seconds = 1201.84 MB/sec
 Timing buffered disk reads: 260 MB in  3.03 seconds =  85.95 MB/sec

Please be careful with this command and don't play with switches too much unless you know what you are doing as some of them might even kill your drive if not correctly used.

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