Whamcloud - gitweb
Script to run iozone in a loop. It probably doesn't have the right iozone
authoradilger <adilger>
Fri, 22 Mar 2002 19:01:02 +0000 (19:01 +0000)
committeradilger <adilger>
Fri, 22 Mar 2002 19:01:02 +0000 (19:01 +0000)
parameters that people want, but it is a start.

lustre/tests/runiozone [new file with mode: 0755]

diff --git a/lustre/tests/runiozone b/lustre/tests/runiozone
new file mode 100755 (executable)
index 0000000..e482b88
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+SIZE=5m
+COUNT=0
+rm -f endiozone
+while date; do
+       echo "Test #$COUNT"
+       iozone -f /mnt/obd/test.$$ -s $SIZE 2>&1 || exit $?
+       COUNT=`expr $COUNT + 1`
+       [ -f endiozone ] && rm endiozone && exit 0
+done | tee /tmp/iozone.log