NTPLOGGPS(1)
π°οΈ NTPLOGGPS(1) β like, the ntploggps girlies' guide π
okay bestie, so this is ntploggps from the NTPsec fam β pull up a chair, we're logging gpsd data and it's gonna be adorable β¨
πΈ NAME πΈ
ntploggps β literally just logs your gpsd data. that's the whole vibe. no cap. π
π¦ SYNOPSIS π¦
ntploggps [-h] [-l LOGFILE] [-o] [-w WAIT] [-v] [-V]
and here's the quick-reference menu, so you know what you're ordering:
-h,--helpβ show this help message and exit-l LOGFILE,--logfile LOGFILEβ append log data to LOGFILE instead of stdout-o,--onceβ log one line, then exit-w WAIT,--wait WAITβ wait WAIT seconds after each log line, default5-v,--verboseβ be verbose-V,--versionβ show program's version number and exit
β¨ DESCRIPTION β¨
so ntploggps connects to a local gpsd daemon and logs two things: the number of satellites in use, and the Time Dilution of Precision (TDOP). obsessed. π
the best part? ntploggps can run as any user β no special privileges required. she's lowkey for the people. π«Ά
default behavior is to write the data to stdout about once every 5 seconds. and the log file? it's giving this:
# Time Device TDOP nSat
1483668619.0 /dev/ttyS0 0.820000 7
1483668624.0 /dev/ttyS0 0.820000 7
1483668629.0 /dev/ttyS0 0.820000 7
let me break down the columns for you, because iykyk:
- Time β the POSIX time of when the log line is written. β°
- Device β the GPS device the data came from.
- TDOP β the Time Dilution of Precision as reported by the GPS. heads up: some GPS always output a static TDOP (iconic of them, honestly).
- nSat β the number of satellites in use. π°οΈ
π OPTIONS π
-h,--helpβ displays usage information and exits. your little safety net. π-l LOGFILE,--logfile LOGFILEβ append log data to LOGFILE instead of stdout-o,--onceβ log one line, then exit. one and done, main character energy. π-v,--verboseβ be verbose-w WAIT,--wait WAITβ wait WAIT seconds after each log line. the default is5seconds. and listen β this is just the minimum wait time.gpsdmay be reporting data at a much slower interval, so don't come for her if it's slower, okay? π-V,--versionβ show program's version number and exit
π USAGE π
ntploggps
the simplest possible use of this program. perfect for checking the status of your local gpsd daemon β a little vibe check, if you will. β
ntploggps -l /var/log/ntpstats/gpsd -w 60 &
this one will continuously log the gpsd data in the background to the file /var/log/ntpstats/gpsd. only logs every 60 seconds. set it and forget it, bestie. π₯
π AUTHORS π
Gary E. Miller β the one who made this happen. we stan. π«Ά
π 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. not slay, but we recover. π
ok that's the whole page, no notes. go log some satellites, bestie π
NTPsec π¦ 2026-08-02 β mwah, see you in the group chat ππβ¨
π¦ where this page comes from
- alpine 3.24: ntpsec-doc 1.2.5-r0 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms