From 6438445263b29628b95f97e71f814941518a22a2 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 20 Dec 2018 19:10:43 -0800 Subject: ntpshmmon: Update man page to match current options. --- man/ntpshmmon.xml | 50 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 16 deletions(-) (limited to 'man') diff --git a/man/ntpshmmon.xml b/man/ntpshmmon.xml index bcb083a3..dd558902 100644 --- a/man/ntpshmmon.xml +++ b/man/ntpshmmon.xml @@ -7,7 +7,7 @@ SPDX-License-Identifier: BSD-2-clause "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -25 Jan 2015 +21 Dec 2018 ntpshmmon 1 @@ -16,16 +16,18 @@ SPDX-License-Identifier: BSD-2-clause ntpshmmon -capture samples from GPS or other ntpd refclock sources +capture samples from gpsd or other ntpd refclock sources ntpshmmon + -? -h -n nsamples + -o -s - -t seconds + -t nseconds -v -V @@ -35,7 +37,7 @@ SPDX-License-Identifier: BSD-2-clause This program monitors the shared-memory segments updated by gpsd8 -(and possibly other refclock sources) as a way of communicating with +, and possibly other refclock sources, as a way of communicating with ntpd, the Network Time Protocol daemon. It reads these in exactly the way an ntpd instance does. It can be run concurrently with ntpd without interfering with ntpd's normal operation. @@ -48,8 +50,8 @@ fields. Here is an example of the beginning of a report file: -ntpshmmon version 1 -# Name Seen@ Clock Real L Prec +ntpshmmon version 3.18 +# Name Seen@ Clock Real L Pre sample NTP2 1424926256.443030206 1424926256.115869233 1424926256.000000000 0 -1 sample NTP3 1424926256.443060517 1424926255.995430821 1424926256.000000000 0 -20 sample NTP3 1424926256.995747347 1424926256.995422728 1424926257.000000000 0 -20 @@ -86,24 +88,31 @@ interpret this format. -In these fields, "clock time" is the high-precision time -measured by the source and "receiver time" is Unix UTC time at the -receiver. It is normal for the seconds part of receiver time to -coincide with the seconds part of collection time and for the +In these fields, "clock time" is the high-precision system clock +time measured by the source and "receiver time" is from the receiver. +Both times are in UTC. It is normal for the seconds part of receiver +time to coincide with the seconds part of collection time and for the nanoseconds part of receiver time to be zero. +If the -o option is used, the "Seen@" column is replaced with the +"Offset" column. The "Offset" is the difference between "Clock" and +"Real" times. + + +OPTIONS + --v +-? -Enable verbose status messages. +Display program usage and exit. --c +-h -Device poll interval in fractional seconds - defaults to 1. +Display program usage and exit. @@ -114,6 +123,15 @@ nanoseconds part of receiver time to be zero. + +-o + +Replace the "Seen@" column with the "Offset" column. The "Offset" is +the difference between "Clock" and "Real" times. + + + + -s @@ -130,9 +148,9 @@ option will normally only be of interest to GPSD developers. --h +-v -Display program usage and exit. +Enable verbose status messages. -- cgit v1.2.1