aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-xntp
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-05-07 22:19:21 -0500
committerMatt Rude <[email protected]>2011-05-07 22:19:21 -0500
commit825fccb8064c0f4b4b01595adbed7bc9d10412b4 (patch)
treebd0058b06a43359223521903d30fe2497456b2ee /scripts/do-xntp
parent9ebe31e6656bb2b0fca29118d467da4ab1fa3636 (diff)
downloadtime.mattrude.com-825fccb8064c0f4b4b01595adbed7bc9d10412b4.tar.gz
time.mattrude.com-825fccb8064c0f4b4b01595adbed7bc9d10412b4.tar.bz2
time.mattrude.com-825fccb8064c0f4b4b01595adbed7bc9d10412b4.zip
updatin scripts
Diffstat (limited to 'scripts/do-xntp')
-rwxr-xr-xscripts/do-xntp30
1 files changed, 27 insertions, 3 deletions
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