Created
December 17, 2012 20:34
-
-
Save anonymous/4321936 to your computer and use it in GitHub Desktop.
Test DD for Linux (Mint)
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
#!/bin/sh | |
COUNT=2048 | |
echo "testing pseudo-IO performances - 1st Pass" | |
dd if=/dev/zero of=/dev/null bs=1M count=$COUNT | |
echo "testing IO write performances - 1st Pass" | |
dd if=/dev/zero of=PERFTEST bs=1M count=$COUNT | |
echo "testing IO read performances - 1st Pass" | |
dd if=PERFTEST of=/dev/null bs=1M count=$COUNT | |
echo "testing IO read performances - 2nd Pass" | |
dd if=PERFTEST of=/dev/null bs=1M count=$COUNT | |
echo "testing IO write performances - 2nd Pass" | |
dd if=/dev/zero of=PERFTEST bs=1M count=$COUNT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment