summaryrefslogtreecommitdiff
path: root/ACE/bin/generate_performance_chart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/bin/generate_performance_chart.sh')
-rwxr-xr-xACE/bin/generate_performance_chart.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ACE/bin/generate_performance_chart.sh b/ACE/bin/generate_performance_chart.sh
new file mode 100755
index 00000000000..ebff5f13c96
--- /dev/null
+++ b/ACE/bin/generate_performance_chart.sh
@@ -0,0 +1,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 size 800,600 color
+ set yrange [4000:25000]
+ set output "$2"
+ plot '$1' using 1:2 title '$3' w l
+ exit
+_EOF_