Created
February 21, 2017 18:53
-
-
Save blackknight36/f396291cd9219364c9a0991dcca10423 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# 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. | |
export PATH=$PATH:/opt/iozone/bin | |
if [ $# -ne 1 ]; then | |
echo "usage: Generate_graphs <file_name>" | |
exit 1 | |
fi | |
gengnuplot.sh $1 write | |
gengnuplot.sh $1 rewrite | |
gengnuplot.sh $1 read | |
gengnuplot.sh $1 reread | |
gengnuplot.sh $1 randread | |
gengnuplot.sh $1 randwrite | |
gengnuplot.sh $1 bkwdread | |
gengnuplot.sh $1 recrewrite | |
gengnuplot.sh $1 strideread | |
gengnuplot.sh $1 fwrite | |
gengnuplot.sh $1 frewrite | |
gengnuplot.sh $1 fread | |
gengnuplot.sh $1 freread | |
# Produce graphs and postscript results. | |
gnuplot /opt/iozone/bin/gnu3d.dem | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment