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.-lLOGFILE,--logfileLOGFILE β append log data to LOGFILE instead ofstdout. 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 π£οΈ-wWAIT,--waitWAIT β 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
- ubuntu stonking: ntpsec-ntpviz 1.2.3+dfsg1-8ubuntu3 Β· NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms