[Git][NTPsec/ntpsec][master] contrib: fix numerous typos

Gary E. Miller gitlab at mg.gitlab.com
Sat Jan 28 00:04:13 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
c920b9d6 by James Browning at 2017-01-27T16:03:49-08:00
contrib: fix numerous typos

Signed-off-by: Gary E. Miller <gem at rellim.com>

- - - - -


4 changed files:

- contrib/README
- contrib/smartctl-temp-log
- contrib/temper-temp-log
- contrib/zone-temp-log


Changes:

=====================================
contrib/README
=====================================
--- a/contrib/README
+++ b/contrib/README
@@ -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.


=====================================
contrib/smartctl-temp-log
=====================================
--- a/contrib/smartctl-temp-log
+++ b/contrib/smartctl-temp-log
@@ -1,12 +1,12 @@
 #!/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


=====================================
contrib/temper-temp-log
=====================================
--- a/contrib/temper-temp-log
+++ b/contrib/temper-temp-log
@@ -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
 
 """


=====================================
contrib/zone-temp-log
=====================================
--- a/contrib/zone-temp-log
+++ b/contrib/zone-temp-log
@@ -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
 """
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c920b9d653b0f2b8b0248c162c99b97781d51a90
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170128/2ec1acfc/attachment.html>


More information about the vc mailing list