Graphs
authorPaul J R <me@pjr.cc>
Sun, 8 Sep 2013 13:52:23 +0000 (23:52 +1000)
committerPaul J R <me@pjr.cc>
Sun, 8 Sep 2013 13:52:23 +0000 (23:52 +1000)
src/graphit/create_data.sh

index d06eb7c..46d6543 100755 (executable)
@@ -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