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 of stdout.
  • -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