From Linuxintro
Revision as of 10:05, 9 August 2015 by (talk) (→‎Find out throughput)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A disk is a device to store data, e.g. a compact disk or a hard disk. See http://en.wikipedia.org/wiki/Disk. Disk related commands:

hwinfo --block
hwinfo --partition

Get information

hdparm -I /dev/hda

Find out throughput

# hdparm -tT /dev/sda

 Timing cached reads:   20114 MB in  2.00 seconds = 10071.18 MB/sec
 Timing buffered disk reads: 754 MB in  3.00 seconds = 251.23 MB/sec

Hibernate hard disk

hdparm -S60 /dev/hda


hdparm -y /dev/hda