#
# This script will create the Iozone graphs using
# gnuplot. 
#
#
#
# ------------------------------------------------
# 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.

/opt/iozone/bin/gengnuplot.sh $1 write
/opt/iozone/bin/gengnuplot.sh $1 rewrite
/opt/iozone/bin/gengnuplot.sh $1 read
/opt/iozone/bin/gengnuplot.sh $1 reread
/opt/iozone/bin/gengnuplot.sh $1 randread
/opt/iozone/bin/gengnuplot.sh $1 randwrite
/opt/iozone/bin/gengnuplot.sh $1 bkwdread
/opt/iozone/bin/gengnuplot.sh $1 recrewrite
/opt/iozone/bin/gengnuplot.sh $1 strideread
/opt/iozone/bin/gengnuplot.sh $1 fwrite
/opt/iozone/bin/gengnuplot.sh $1 frewrite
/opt/iozone/bin/gengnuplot.sh $1 fread
/opt/iozone/bin/gengnuplot.sh $1 freread

# Produce graphs and postscript results.
gnuplot /opt/iozone/bin/gnu3d.dem


