Skip to content
Snippets Groups Projects
Commit 3c4d3d81 authored by Gary E. Miller's avatar Gary E. Miller :speech_balloon:
Browse files

zone-temp-log; Slight change in log file name.

Using tempsz means that pylib/statfiles.py needs no change to
read this log.
parent c66e223a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment