From: adilger Date: Fri, 22 Mar 2002 19:01:02 +0000 (+0000) Subject: Script to run iozone in a loop. It probably doesn't have the right iozone X-Git-Tag: 0.4.2~496 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8478a3fa8da15303a002189a1fa81fa11b9bd876;p=fs%2Flustre-release.git Script to run iozone in a loop. It probably doesn't have the right iozone parameters that people want, but it is a start. --- diff --git a/lustre/tests/runiozone b/lustre/tests/runiozone new file mode 100755 index 0000000..e482b88 --- /dev/null +++ b/lustre/tests/runiozone @@ -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