summaryrefslogtreecommitdiff
path: root/trunk/ACE/bin/generate_topinfo_charts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/ACE/bin/generate_topinfo_charts.sh')
-rwxr-xr-xtrunk/ACE/bin/generate_topinfo_charts.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/trunk/ACE/bin/generate_topinfo_charts.sh b/trunk/ACE/bin/generate_topinfo_charts.sh
new file mode 100755
index 00000000000..09e2f0a1f51
--- /dev/null
+++ b/trunk/ACE/bin/generate_topinfo_charts.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 (MM/DD)'
+ set ylabel 'Size (KBytes) $4'
+ set terminal png small size 800,600 color
+ set output "$2"
+ plot '$1' using 1:2 title '$3' w l
+ exit
+_EOF_
+