The Ubuntu Linux operating system includes a variety of standard Linux commands, including the "hdparm" command. Among other things, the "hdparm" command tests a hard drive's speed and displays it in megabytes per second. Testing a hard drive's speed lets you know how well it's performing and which of your hard drives is faster. Test a hard drive's speed by running the "hdparm" command in a Terminal.
- Skill level:
Other People Are Reading
Open a Terminal by clicking "Applications," "Accessories" and "Terminal."
List the hard drives in your system by typing "sudo fdisk -l" into the Terminal window and pressing "Enter." Authenticate yourself by typing your password and pressing "Enter" when prompted. The hard drives in your system are displayed under the "Device" column of the fdisk command's output.
Test a hard drive's speed by typing "sudo hdparm -Tt /dev/sdX" into the Terminal window, replacing "/dev/sdX" with a hard drive device, for example "/dev/sda" for the first hard drive, and pressing "Enter." Hdparm tests your hard drive and outputs the hard drive's speed a few seconds later.
Tips and warnings
- Test multiple hard drives' speeds at once by listing them at the end of the "hdparm" command. For example, test the speeds of the first two hard drives in your computer by typing "sudo hdparm -Tt /dev/sda /dev/sdb" into the Terminal window and pressing "Enter."
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for