From: Paul J R Date: Sun, 8 Sep 2013 13:52:23 +0000 (+1000) Subject: Graphs X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=ab0d17fb2d0ea34a5c02596364114dcf31056ce0;p=wyse_ntpd.git Graphs --- diff --git a/src/graphit/create_data.sh b/src/graphit/create_data.sh index d06eb7c..46d6543 100755 --- a/src/graphit/create_data.sh +++ b/src/graphit/create_data.sh @@ -36,16 +36,18 @@ do done -END_2HR=`echo $START_TIME+7200|bc` -rrdtool graph 2hr_off.png --start $START_TIME \ - --end $END_2HR \ - DEF:2hr_jit=data.rrd:jitter:AVERAGE \ - LINE2:2hr_jit#00FF00 - - -END_2HR=`echo $START_TIME+7200|bc` -rrdtool graph 2hr_jit.png --start $START_TIME \ - --end $END_2HR \ - DEF:2hr_off=data.rrd:offset:AVERAGE \ - LINE1:2hr_off#FF0000 +END_4HR=`echo $START_TIME+14400|bc` +rrdtool graph 4hr_off.png --start $START_TIME \ + -w 600 -h 300 \ + --end $END_4HR \ + DEF:4hr_jit=data.rrd:jitter:AVERAGE \ + LINE2:4hr_jit#00FF00 + + +END_4HR=`echo $START_TIME+14400|bc` +rrdtool graph 4hr_jit.png --start $START_TIME \ + -w 600 -h 300 \ + --end $END_4HR \ + DEF:4hr_off=data.rrd:offset:AVERAGE \ + LINE1:4hr_off#FF0000