/mysql_watcher/io_plot
#! | 28 lines | 28 code | 0 blank | 0 comment | 0 complexity | 5271c6ccf28c27ad512d028061938db6 MD5 | raw file
1set terminal png size 1024,1024 2set output "output.png" 3set multiplot 4set grid x y 5set size 1,0.33 6set key default 7set xlabel "Date" 8set ylabel "% IO" 9set y2label "ops/sec" 10set timefmt "%H:%M:%S" 11set xdata time 12set format x "%H:%M" 13set tics out 14set autoscale y 15set autoscale y2 16set origin 0.0, 0.66 17plot 'io.txt' using 1:2 title "IO %" with lines axes x1y1, \ 18 'io.txt' using 1:3 title "r/s" with lines axes x1y2, \ 19 'io.txt' using 1:4 title "w/s" with lines axes x1y2 20set origin 0.0, 0.33 21plot 'io.txt' using 1:2 title "IO %" with lines axes x1y1 22set origin 0.0, 0.0 23set ylabel "ops/sec" 24plot 'io.txt' using 1:3 title "r/s" with lines axes x1y1, \ 25 'io.txt' using 1:4 title "w/s" with lines axes x1y1 26unset multiplot 27#plot 'io.txt' using 1:3 title "r/sec" with lines 28#plot 'io.txt' using 1:4 title "w/sec" with lines