Utils/tsup-experiment: data generator script added
authorCalin Burloiu <calin.burloiu@gmail.com>
Wed, 20 Oct 2010 10:12:43 +0000 (13:12 +0300)
committerCalin Burloiu <calin.burloiu@gmail.com>
Wed, 20 Oct 2010 10:16:05 +0000 (13:16 +0300)
Utils/tsup-experiment/data_gen.sh [new file with mode: 0755]

diff --git a/Utils/tsup-experiment/data_gen.sh b/Utils/tsup-experiment/data_gen.sh
new file mode 100755 (executable)
index 0000000..f7433b9
--- /dev/null
@@ -0,0 +1,19 @@
+if [ ! -e Data.4M ]; then
+       dd if=/dev/urandom of=Data.4M bs=1M count=4
+fi
+
+if [ ! -e Data.16M ]; then
+       dd if=/dev/urandom of=Data.16M bs=1M count=16
+fi
+
+if [ ! -e Data.64M ]; then
+       dd if=/dev/urandom of=Data.64M bs=1M count=64
+fi
+
+if [ ! -e Data.256M ]; then
+       dd if=/dev/urandom of=Data.256M bs=1M count=256
+fi
+
+if [ ! -e Data.1024M ]; then
+       dd if=/dev/urandom of=Data.1024M bs=1M count=1024
+fi
\ No newline at end of file