From 825fccb8064c0f4b4b01595adbed7bc9d10412b4 Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Sat, 7 May 2011 22:19:21 -0500 Subject: updatin scripts --- scripts/do-xntp | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'scripts/do-xntp') diff --git a/scripts/do-xntp b/scripts/do-xntp index f3ebe99..4ebdc1b 100755 --- a/scripts/do-xntp +++ b/scripts/do-xntp @@ -56,7 +56,7 @@ ${RRD_BIN}/rrdtool graph \ --title "`TZ=UTC date`" \ --start -93600 \ DEF:wander=${RRDPAGE}/${X}.rrd:wander:LAST \ - LINE1:wander#0000FF:"wander" \ + LINE1:wander#0000FF:"Wander" \ GPRINT:wander:LAST:%le ${RRD_BIN}/rrdtool graph \ @@ -67,7 +67,7 @@ ${RRD_BIN}/rrdtool graph \ --title "`TZ=UTC date`" \ --start -93600 \ DEF:freq=${RRDPAGE}/${X}.rrd:freq:LAST \ - LINE1:freq#0000FF:"frequency (ppm)" \ + LINE1:freq#0000FF:"Frequency (ppm)" \ GPRINT:freq:LAST:%lf ${RRD_BIN}/rrdtool graph \ @@ -79,9 +79,21 @@ ${RRD_BIN}/rrdtool graph \ --start -93600 \ DEF:disp=${RRDPAGE}/${X}.rrd:disp:LAST \ CDEF:ndisp=disp,1000,/ \ - LINE1:ndisp#0000FF:"dispersion" \ + LINE1:ndisp#0000FF:"Dispersion" \ GPRINT:ndisp:LAST:%lf +${RRD_BIN}/rrdtool graph \ + --imgformat PNG ${RRDPAGE}/${X}-ntp-jitter.png \ + --width 600 --height 200 \ + --alt-autoscale \ + --vertical-label "${X}" \ + --title "`TZ=UTC date`" \ + --start -93600 \ + DEF:disp=${RRDPAGE}/${X}.rrd:jitter:LAST \ + CDEF:ndisp=disp,1000,/ \ + LINE1:ndisp#0000FF:"Jitter" \ + GPRINT:ndisp:LAST:%lf + # fat (weekly) graphs @@ -148,6 +160,18 @@ ${RRD_BIN}/rrdtool graph \ LINE1:ndisp#0000FF:"dispersion" \ GPRINT:ndisp:LAST:%lf +${RRD_BIN}/rrdtool graph \ + --imgformat PNG ${RRDPAGE}/${X}-week-ntp-jitter.png \ + --width 600 --height 200 \ + --alt-autoscale \ + --vertical-label "${X}" \ + --title "`TZ=UTC date`" \ + --start -691200 \ + DEF:disp=${RRDPAGE}/${X}.rrd:jitter:LAST \ + CDEF:ndisp=disp,1000,/ \ + LINE1:ndisp#0000FF:"Jitter" \ + GPRINT:ndisp:LAST:%lf + done #end -- cgit v1.2.3-59-ga6da