# # This script will create the Iozone graphs using # gnuplot. # Modified 2004 Vitaly Lipatov # # # ------------------------------------------------ # YOU MUST PROVIDE A FILE NAME FOR IT TO PROCESS. # This filename is the name of the file where you # sent Iozone's output. # ------------------------------------------------ # Generate data base for all of the operation types. FILE=`mktemp` if [ -z "$1" ] then echo "Running iozone -a -g 64m... (64Mb limit for file). It may takes a long time" iozone -a -g 64m | tee $FILE set $FILE fi iozone-gnuplot.sh $1 write iozone-gnuplot.sh $1 rewrite iozone-gnuplot.sh $1 read iozone-gnuplot.sh $1 reread iozone-gnuplot.sh $1 randread iozone-gnuplot.sh $1 randwrite iozone-gnuplot.sh $1 bkwdread iozone-gnuplot.sh $1 recrewrite iozone-gnuplot.sh $1 strideread iozone-gnuplot.sh $1 fwrite iozone-gnuplot.sh $1 frewrite iozone-gnuplot.sh $1 fread iozone-gnuplot.sh $1 freread # Produce graphs and postscript results. gnuplot /usr/share/iozone/gnu3d.dem rm -f $FILE