Skip to content

Instantly share code, notes, and snippets.

@sxd
Last active August 29, 2015 14:04
Show Gist options
  • Save sxd/ca05fb928a178a54ac7b to your computer and use it in GitHub Desktop.
Save sxd/ca05fb928a178a54ac7b to your computer and use it in GitHub Desktop.
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
@sxd
Copy link
Author

sxd commented Jul 28, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment