From ab0d17fb2d0ea34a5c02596364114dcf31056ce0 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Sun, 8 Sep 2013 23:52:23 +1000 Subject: [PATCH] Graphs --- src/graphit/create_data.sh | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) 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 -- 1.7.0.4