Last active
August 29, 2015 14:04
-
-
Save sxd/ca05fb928a178a54ac7b to your computer and use it in GitHub Desktop.
This file contains 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
iozone -a > output_iozone | |
cp /usr/share/doc/iozone3/examples/gengnuplot.sh . | |
cp /usr/share/doc/iozone3/examples/Generate_Graphs . | |
wget http://theshire.emacs.cl/~zeus/iozone/gnu3d.dem | |
bash Generate_Graphs output_iozone | |
mkdir iozone | |
for f in `find -type f -name "*.ps"`; do cp $f iozone/ ; done | |
cd iozone | |
for f in `ls *.ps`; do FILE=`basename -s .ps $f`; ps2pdf $f $FILE.pdf; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gnu3d.dem file was thanks to http://blog.hgomez.net/blog/2011/11/03/iozone-and-gnuplot-4-x/ with some modifications.
This script will run the iozone test, generate the PS files with all the test and then create a directory called 'iozone' and put all the .ps files inside and the it will create the pdf file for all the ps files.
The gnu3d.dem file was edited to comment the following line:
set terminal x11
This it's to avoid some possible errors if you run gnuplot on a terminal without X11