diff options
Diffstat (limited to 'bin/generate_topinfo_charts.sh')
-rwxr-xr-x | bin/generate_topinfo_charts.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/generate_topinfo_charts.sh b/bin/generate_topinfo_charts.sh new file mode 100755 index 00000000000..d4ba57af942 --- /dev/null +++ b/bin/generate_topinfo_charts.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $Id$ +# + +gnuplot <<_EOF_ >/tmp/null.bala 2>&1 + set xdata time + set timefmt '%Y/%m/%d-%H:%M' + set xlabel 'Date (MM/DD)' + set ylabel 'Size (KBytes)' + set terminal png small color + set yrange [3000:6000] + set output "$2" + plot '$1' using 1:2 title '$3' w l + exit +_EOF_ + |