NTPLOGTEMP(1)
β¨ NTPLOGTEMP(1) β¨
okay bestie, so this is the manual page for ntplogtemp, part of the NTPsec suite, living in section 1 of the manual. she's a little temperature-logging gremlin and honestly? iconic. let's get into it π
π‘οΈ NAME π‘οΈ
ntplogtemp β log temperature data π₯΅
π SYNOPSIS π
ntplogtemp [-h] [-l LOGFILE] [-o] [-w WAIT] [-v] [-V]
-h, --help show this help message and exit
-l LOGFILE, --logfile LOGFILE
append log data to LOGFILE instead of stdout
-q, --quiet be quiet
-o, --once log one line, then exit
-w WAIT, --wait WAIT wait WAIT seconds after each log line, default 60
-v, --verbose be verbose
-V, --version show program's version number and exit
π§ DESCRIPTION π§
so ntplogtemp goes around your whole system collecting temperature readings, like a little thermometer fairy doing her rounds πΈ. The standard user for this is ntpuser, and she needs to have permissions to execute lm_sensors and smartctl β otherwise bestie cannot cook, no cap.
By default she writes the data to stdout once every 60 seconds. The log file looks like this:
# time, sensor, value
1485816568 ZONE0 39.0
1485816568 ZONE1 20.0
1485816568 ZONE2 42.0
1485816568 ZONE3 0.0
Let's break down those columns, because it's giving data β¨:
- Time β the POSIX time of when the log line was written.
- Sensor β the sensor the temperature reading was obtained from.
- Value β the temperature reading in celsius. π₯Άπ₯
π OPTIONS π
-h,--helpβ shows usage information and then dips out. classic.-l LOGFILE,--logfile LOGFILEβ append log data to LOGFILE instead ofstdout.-q,--quietβ quiet output; will not display errors. π€«-o,--onceβ log the data one single time, then exit. one and done, periodt.-v,--verboseβ be verbose. spill the tea β-w WAIT,--wait WAITβ wait WAIT seconds after each log line. The default is 60 seconds. The minimum wait time is 5 seconds. don't be impatient bestie, there's a floor π«Ά-V,--versionβ show program's version number and exit.
π USAGE π
ntplogtempβ the simplest use of this program. You can use it to check the temperature readings of Zones, CPU, and disk drives every minute. vibe check on your whole machine, hourly-adjacent πntplogtemp -l /var/log/ntpstats/temperature -w 60 &β this will continuously log the temperature data in the background to the file/var/log/ntpstats/temperature, only logging every 60 seconds. set it and forget it, main character energy π
π AUTHORS π
- Gary E. Miller
- Keane S. Wolter
π¦ EXIT STATUS π¦
one of the following exit values will be returned:
0(EXIT_SUCCESS) β successful program execution. slay π1(EXIT_FAILURE) β the operation failed or the command syntax was not valid. π
fr fr, that's the whole page. go log some temperatures, bestie π‘οΈβ¨
and that's a wrap!! this page came to you from NTPsec, dated 2026-10-21, and it's the NTPLOGTEMP(1) manual page β take care of her, she's doing her best ππ¦
π¦ where this page comes from
- fedora 43: ntpsec 1.2.6-1.fc43 Β· NTP AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC AND Apache-2.0 AND Beerware
- fedora 43: ntpsec 1.2.6-1.fc43 Β· NTP AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC AND Apache-2.0 AND Beerware
- fedora 44: ntpsec 1.2.6-1.fc44 Β· NTP AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC AND Apache-2.0 AND Beerware
- fedora 44: ntpsec 1.2.6-1.fc44 Β· NTP AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND ISC AND Apache-2.0 AND Beerware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms