blob: b72311b9338eb4e7a5e26a5933d3166c5915f0d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
#
# $Id$
#
gnuplot <<_EOF_ >/dev/null 2>&1
set xdata time
set timefmt '%Y/%m/%d-%H:%M'
set xlabel 'Date (YYYYMMDD)'
set ylabel 'Throughput (Requests/Second)'
set terminal png small color
set yrange [2000:12000]
set output "$2"
plot '$1' using 1:2 title '$3' w l
exit
_EOF_
|