[Git][NTPsec/ntpsec][master] zone-temp-log; Slight change in log file name.
Gary E. Miller
gitlab at mg.gitlab.com
Tue Dec 13 01:03:50 UTC 2016
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
3c4d3d81 by Gary E. Miller at 2016-12-12T17:02:50-08:00
zone-temp-log; Slight change in log file name.
Using tempsz means that pylib/statfiles.py needs no change to
read this log.
- - - - -
1 changed file:
- contrib/zone-temp-log
Changes:
=====================================
contrib/zone-temp-log
=====================================
--- a/contrib/zone-temp-log
+++ b/contrib/zone-temp-log
@@ -20,10 +20,13 @@ Field 1: unix UTC time in seconds
Field 2: Log source (ZONE)
Field 3: CPU Temperature
+ntpviz will read akll file temps* by default. Do not step on
+temps used by temper-temp-log.
+
Sample crontab usage:
# take and log cpu temp every 5 mins
-*/5 * * * * /usr/local/sbin/zone-temp-log >> /var/log/ntpstats/ztemps
+*/5 * * * * /usr/local/sbin/zone-temp-log >> /var/log/ntpstats/tempsz
"""
from __future__ import print_function
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3c4d3d81113fa9c22522905040047dfb958fcfb7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161213/af1ab3b3/attachment.html>
More information about the vc
mailing list