NTPLOGTEMP(8)

πŸ’– NTPLOGTEMP(8) πŸ’–

okay bestie, welcome to ntplogtemp from NTPsec β€” it's a section 8 (system administration) page, so it's giving ✨serious sysadmin energy✨ but honestly? it's just a lil temperature gossip blog for your machine. 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

like, that's the whole vibe right there β€” flags, bestie, flags πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so <pink>ntplogtemp</pink> goes around gathering temperature readings across a system. it's basically doing a vibe check on your hardware 🌑️

the standard user for this is <purple>ntpuser</purple>, and that user should have permissions to execute lm_sensors and smartctl β€” no cap, if they don't, this whole thing is not gonna slay.

the default behaviour? write the data to stdout once every 60 seconds. periodt.

the log file looks like this, and yes it's exactly this:

# time, sensor, value
1485816568 ZONE0 39.0
1485816568 ZONE1 20.0
1485816568 ZONE2 42.0
1485816568 ZONE3 0.0

let's break down the columns, because ikyk what they mean but fr fr:

  • time β€” the POSIX time of when the log line is written ⏰
  • sensor β€” the sensor the temperature reading was obtained from πŸ‘€
  • value β€” the temperature reading in celsius 🌑️
not fahrenheit, not kelvin, celsius. the metric main character. πŸ’…

πŸ’… OPTIONS πŸ’…

one bullet per flag, no skipping, we're doing all of them, it's what she deserves:

  • -h, --help β€” displays usage information and then dips out. iconic behaviour honestly.
  • -l LOGFILE, --logfile LOGFILE β€” append log data to LOGFILE instead of stdout. so like, save the receipts somewhere ✍️
  • -q, --quiet β€” quiet output, will not display errors 😢 (yes bestie, even the errors. she's silent, she's mysterious.)
  • -o, --once β€” log the data once, then exit. one (1) line and she's gone πŸšͺ
  • -v, --verbose β€” be verbose. say more words. yapper mode πŸ—£οΈ
  • -w WAIT, --wait WAIT β€” wait WAIT seconds after each log line. the default is 60 seconds, and the minimum wait time is 5 seconds. ⏳
  • -V, --version β€” show program's version number and exit 🏷️

🌈 USAGE 🌈

ntplogtemp

this is the simplest use of this program. it can be used to check the temperature readings of Zones, CPU, and disk drives every minute. set it and forget it, queen πŸ‘‘

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 logs every 60 seconds. the & is what sends her to the background β€” she's doing her own thing, you're doing yours 🫢


πŸ‘‘ AUTHORS πŸ‘‘

  • Gary E. Miller
  • Keane S. Wolter

the literal founders of this temperature empire. we thank them for their service πŸŽ€


🚦 EXIT STATUS 🚦

one of the following exit values will be returned:

  • 0 (EXIT_SUCCESS) β€” successful program execution. she ate. βœ…
  • 1 (EXIT_FAILURE) β€” the operation failed or the command syntax was not valid. 😭 it's giving oops.

🌸 reminder bestie: keep every flag exactly as written, the numbers matter, and the defaults are not vibes β€” they're facts. πŸ’–

and that's the whole page fr fr! this is NTPLOGTEMP(8) from NTPsec, dated 2026-07-24 β€” shoutout to the whole NTPsec project for keeping our clocks and our temps in check πŸ•°οΈπŸŒ‘οΈπŸ’œ

stay cool (temperature-wise, and also as a person) βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from