TOOL » LINUX » PACKAGE

Hdparm

Usage

Get/set SATA/IDE device parameters.

shell
hdparm OPTIONS device
OptionDescription
-tPerform timings of device reads for benchmark and comparison purposes.
-TPerform timings of cache reads for benchmark and comparison purposes.

Example

Benchmark read speed of a disk (for write speed use dd):

shell
sudo hdparm -t /dev/sda1