Whamcloud - gitweb
Script to run iozone in a loop. It probably doesn't have the right iozone
[fs/lustre-release.git] / lustre / tests / runiozone
1 #!/bin/sh
2 SIZE=5m
3 COUNT=0
4 rm -f endiozone
5 while date; do
6         echo "Test #$COUNT"
7         iozone -f /mnt/obd/test.$$ -s $SIZE 2>&1 || exit $?
8         COUNT=`expr $COUNT + 1`
9         [ -f endiozone ] && rm endiozone && exit 0
10 done | tee /tmp/iozone.log