From 8478a3fa8da15303a002189a1fa81fa11b9bd876 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 22 Mar 2002 19:01:02 +0000 Subject: [PATCH] Script to run iozone in a loop. It probably doesn't have the right iozone parameters that people want, but it is a start. --- lustre/tests/runiozone | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 lustre/tests/runiozone 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 -- 1.8.3.1