hdparm tool linux code example Example: linux hdparm # To get information about hard disks, run the following: hdparm -I /dev/sda