Pejman Moghadam / Scripts

Bash script - Hard disk speed test

Public Domain


#!/bin/bash
DISKS="/dev/sda /dev/hda"
for HD in $DISKS ; do 
    hdparm -I ${HD} | grep SATA
    for i in 1 2 3; do hdparm -tT ${HD}; done
done

BY: Pejman Moghadam
TAG: hdparm, speedtest
DATE: 2012-06-18 11:18:51


Pejman Moghadam / Scripts [ TXT ]