summaryrefslogtreecommitdiff
path: root/ACE/bin/generate_performance_chart.sh
blob: b8a0cb3bcc5cfd568ef4fa3c0471529e816ccc3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#

gnuplot <<_EOF_ >/dev/null 2>&1
    set xdata time
    set xtics rotate
    set format x "%Y/%m/%d"
    set timefmt '%Y/%m/%d-%H:%M'
    set xlabel 'Date (YYYY/MM/DD)' 0,-3
    set ylabel 'Throughput (Requests/Second)'
    set terminal png small size $4 color
    set yrange [0:]
    set output "$2"
    plot '$1' using 1:2 title '$3' w l
    exit
_EOF_