hdparm is a command line utility for the Linux and Windows operating systems to set and view ATA hard disk hardware parameters. It can set parameters such as drive caches, sleep mode, power management, acoustic management, and DMA settings.
Step 1. Installation
apt-get install hdparm
Step 2. Usage
hdparm -t /dev/sda
Example:
hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 160 MB in 3.00 seconds = 53.26 MB/sec
For more info use
hdparm –help