Pejman Moghadam / Scripts

Hard disk speed test

Public domain


#!/bin/bash
DISKS="/dev/sda /dev/sdb /dev/sdc"
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: bash, bash-script
DATE: 2009-06-29 16:38:35


Pejman Moghadam / Scripts [ TXT ]