3 # Use gnuplot to generate plots from fio run with -l and/or -w
5 if [ "$1"x == "x" ]; then
14 if [ "$PLOT_LINE"x != "x" ]; then
15 PLOT_LINE=$PLOT_LINE", "
18 PLOT_LINE=$PLOT_LINE"'$i' with lines"
21 if [ "$PLOT_LINE"x == "x" ]; then
25 echo "set title 'Bandwidth - $TITLE'; set xlabel 'time (msec)'; set ylabel 'KiB/sec'; set terminal png; set output '$TITLE-bw.png'; plot " $PLOT_LINE | gnuplot -
29 if [ "$PLOT_LINE"x != "x" ]; then
30 PLOT_LINE=$PLOT_LINE", "
33 PLOT_LINE=$PLOT_LINE"'$i' with lines"
36 if [ "$PLOT_LINE"x == "x" ]; then
40 echo "set title 'Latency - $TITLE'; set xlabel 'time (msec)'; set ylabel 'latency (msec)'; set terminal png; set output '$TITLE-lat.png'; plot " $PLOT_LINE | gnuplot -