diff -r 6fae69860129 -r 944224048b5a plot.example --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plot.example Tue Nov 06 21:20:45 2012 +0100 @@ -0,0 +1,24 @@ +#! /usr/bin/gnuplot + +# example script for gnuplot. +# I'm sure, it could be more sophisticated… + +set terminal qt noraise +set grid +set xlabel 'time (s)' +set ylabel 'speed (MB/s)' +set logscale y +set title 'dd if=bigFile …' +plot 'log-big-dd-async.log' using 1:3 title 'dd of=/dev/sdb' with lines, \ + 'log-big-dd-sync.log' using 1:3 title 'dd of=/dev/sdb oflag=sync' with lines, \ + 'log-big-vfat-default.log' using 1:3 title 'dd of=' with lines, \ + 'log-big-ext2-default.log' using 1:3 title 'dd of=' with lines, \ + 'log-big-ext4-default.log' using 1:3 title 'dd of=' with lines, \ + 'log-big-btrfs-default.log' using 1:3 title 'dd of=' with lines + + +# interaktiv +pause -1 + +# Verlauf anzeigen +#while (1) { pause 3; replot; }