Created
December 28, 2019 01:42
-
-
Save fanyix/7a8989104f8c14b14fb6cfac3dd957a6 to your computer and use it in GitHub Desktop.
Check read/write speed of disk
This file contains 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
# check the reading speed | |
sudo hdparm -tT /dev/sda2 | |
# check write speed | |
mkdir ~/tmp | |
dd if=/dev/zero of=~/tmp/output oflag=direct bs=1k count=100k; rm -f ~/tmp/output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment