Created
December 4, 2011 05:41
-
-
Save drsnyder/1429319 to your computer and use it in GitHub Desktop.
Simple disk write test using dd
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/bash | |
GB=2 # how much memory in the system | |
SZ=$((2*$GB)) # you want at least 2x memory size | |
dd if=/dev/zero of=bigfile bs=8k count=$((250000 * $SZ)) && sync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment