Created
December 18, 2014 04:00
-
-
Save hnq90/acccb05b52c87b9116df to your computer and use it in GitHub Desktop.
Detect HDD Speed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for i in 1 2 3; do sudo hdparm -tT /dev/sda; done | |
| #/dev/sda: | |
| # Timing cached reads: 9676 MB in 2.00 seconds = 4839.70 MB/sec | |
| # Timing buffered disk reads: 326 MB in 3.01 seconds = 108.28 MB/sec | |
| # | |
| #/dev/sda: | |
| # Timing cached reads: 9910 MB in 2.00 seconds = 4957.12 MB/sec | |
| # Timing buffered disk reads: 292 MB in 3.01 seconds = 97.15 MB/sec | |
| # | |
| #/dev/sda: | |
| # Timing cached reads: 10040 MB in 2.00 seconds = 5022.03 MB/sec | |
| # Timing buffered disk reads: 318 MB in 3.00 seconds = 105.98 MB/sec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment