Created
March 30, 2020 00:32
-
-
Save bparli/c4503c5347f92c370f8481139c93c536 to your computer and use it in GitHub Desktop.
script to create a directory of dummy files for testing cache performance
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 | |
for n in {0..1000}; do | |
dd if=/dev/urandom of=file$( printf %03d "$n" ).bin bs=1 count=$(( RANDOM*100 + 2048 )) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment