Commit c920b9d6 authored by James Browning's avatar James Browning Committed by Gary E. Miller
Browse files

contrib: fix numerous typos


Signed-off-by: Gary E. Miller's avatarGary E. Miller <gem@rellim.com>
parent 3c55017b
......@@ -18,5 +18,5 @@ log that can be used by 'ntpviz --local-temps'
zone-temp-log reads /sys/class/thermal/thermal_zone*/temp to find the CPU
temperature. Writes all temperatures found to stdout on one line, preceded by
the unix UTC time in seconds. This is useful on any Linux system that
the Unix UTC time in seconds. This is useful on any Linux system that
supports the /sys/class/thermal/thermal_zone*/temp interface.
#!/usr/bin/env python
# coding: utf-8
"""\
Usage: smartctl-temper-log [device]
Usage: smartctl-temp-log [device]
Reads 'smartctl -a device' for temperature data. If a device is not
sepecified on the commline line then /dev/sda is used. Writes the
temperature found to stdout. Each line contains the unix time in
seconds since the epoch, the identifier, and the temperature in Celcius.
specified on the commline line then /dev/sda is used. Writes the
temperature found to stdout. Each line contains the Unix time in
seconds since the epoch, the identifier, and the temperature in Celsius.
Before you can use this utility smartctl must be installed and
configured. See their documentation for that procedure.
......@@ -15,13 +15,13 @@ Sample log from a typical hard disk.
1471573103 SMART 37.000
Field 1: unix time in seconds since the star of the epoch
Field 1: Unix time in seconds since the star of the epoch
Field 2: Log source (SMART)
Field 3: temperature in degrees C
Sample crontab usage:
# take and log disk temp every 5 mins
# take and log disk temp every 5 minutes
*/5 * * * * /usr/local/sbin/smart-temp-log >> /var/log/ntpstats/temps
Note, many distributions put smartctl in /usr/sbin, and do not
......
......@@ -4,7 +4,7 @@
Usage: temper-temper-log
Reads 'temper-poll -c' for room temperature data. Writes the temperature
found to stdout on one line, preceded by the unix UTC time in seconds
found to stdout on one line, preceded by the Unix UTC time in seconds
and the Log source ID.
Before you can use this utility you must have a TEMPer USB thermometer
......@@ -17,13 +17,13 @@ Sample log from a TEMPer:
1471573104 TEMPER 37.000
1471573105 TEMPER 37.000
Field 1: unix UTC time in seconds
Field 1: Unix UTC time in seconds
Field 1: Log source (TEMPER)
Field 3: CPU temperature in degrees C
Sample crontab usage:
# take and log cpu temp every 5 mins
# take and log CPU temp every 5 minutes
*/5 * * * * /usr/local/sbin/temper-temp-log >> /var/log/ntpstats/temps
"""
......
......@@ -5,7 +5,7 @@ Usage: zone-temper-log
Reads /sys/class/thermal/thermal_zone*/temp to find the CPU temperature.
Writes all temperatures found to stdout on one line, preceded by the
unix UTC time in seconds.
Unix UTC time in seconds.
Sample log:
......@@ -16,16 +16,16 @@ Sample log:
1471582086 ZONE0 56.92
Field 1: unix UTC time in seconds
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
ntpviz will read all 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
# take and log CPU temp every 5 minutes
*/5 * * * * /usr/local/sbin/zone-temp-log >> /var/log/ntpstats/tempsz
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment