1181834Sroberto/* -*- Mode: Text -*- */
2181834Sroberto
3181834Srobertoautogen definitions options;
4181834Sroberto
5181834Sroberto#include copyright.def
6181834Sroberto#include homerc.def
7181834Sroberto#include autogen-version.def
8181834Sroberto
9181834Srobertoprog-name      = "ntpq";
10181834Srobertoprog-title     = "standard NTP query program";
11181834Srobertoargument       = '[ host ...]';
12181834Sroberto
13181834Srobertoflag = {
14181834Sroberto    name      = ipv4;
15285612Sdelphij    flags-cant = ipv6;
16181834Sroberto    value     = 4;
17330567Sgordon    descrip   = "Force IPv4 name resolution";
18181834Sroberto    doc = <<-  _EndOfDoc_
19330567Sgordon	Force resolution of following host names on the command line
20181834Sroberto	to the IPv4 namespace.
21181834Sroberto	_EndOfDoc_;
22181834Sroberto};
23181834Sroberto
24181834Srobertoflag = {
25181834Sroberto    name      = ipv6;
26285612Sdelphij    flags-cant = ipv4;
27181834Sroberto    value     = 6;
28330567Sgordon    descrip   = "Force IPv6 name resolution";
29181834Sroberto    doc = <<-  _EndOfDoc_
30330567Sgordon	Force resolution of following host names on the command line
31181834Sroberto	to the IPv6 namespace.
32181834Sroberto	_EndOfDoc_;
33181834Sroberto};
34181834Sroberto
35181834Srobertoflag = {
36181834Sroberto    name      = command;
37181834Sroberto    value     = c;
38181834Sroberto    arg-type  = string;
39181834Sroberto    descrip   = "run a command and exit";
40181834Sroberto    max       = NOLIMIT;
41181834Sroberto    arg-name  = cmd;
42285612Sdelphij    call-proc = ntpq_custom_opt_handler;
43181834Sroberto    doc = <<-  _EndOfDoc_
44181834Sroberto	The following argument is interpreted as an interactive format command
45181834Sroberto	and is added to the list of commands to be executed on the specified
46181834Sroberto	host(s).
47181834Sroberto	_EndOfDoc_;
48181834Sroberto};
49181834Sroberto
50181834Sroberto#include debug-opt.def
51181834Sroberto
52181834Srobertoflag = {
53181834Sroberto    name      = interactive;
54181834Sroberto    value     = i;
55181834Sroberto    flags-cant = command, peers;
56181834Sroberto    descrip   = "Force ntpq to operate in interactive mode";
57181834Sroberto    doc = <<-  _EndOfDoc_
58285612Sdelphij	Force @code{ntpq} to operate in interactive mode.
59285612Sdelphij	Prompts will be written to the standard output and
60285612Sdelphij	commands read from the standard input.
61181834Sroberto	_EndOfDoc_;
62181834Sroberto};
63181834Sroberto
64181834Srobertoflag = {
65181834Sroberto    name      = numeric;
66181834Sroberto    value     = n;
67181834Sroberto    descrip   = "numeric host addresses";
68181834Sroberto    doc = <<-  _EndOfDoc_
69181834Sroberto	Output all host addresses in dotted-quad numeric format rather than
70330567Sgordon	converting to the canonical host names.
71181834Sroberto	_EndOfDoc_;
72181834Sroberto};
73181834Sroberto
74285612Sdelphijflag = {
75285612Sdelphij    name      = old-rv;
76285612Sdelphij    descrip   = "Always output status line with readvar";
77285612Sdelphij    doc = <<-  _EndOfDoc_
78285612Sdelphij	By default, @code{ntpq} now suppresses the @code{associd=...}
79285612Sdelphij	line that precedes the output of @code{readvar}
80285612Sdelphij	(alias @code{rv}) when a single variable is requested, such as
81285612Sdelphij	@code{ntpq -c "rv 0 offset"}.
82285612Sdelphij	This option causes @code{ntpq} to include both lines of output
83285612Sdelphij	for a single-variable @code{readvar}.
84285612Sdelphij	Using an environment variable to
85285612Sdelphij	preset this option in a script will enable both older and
86285612Sdelphij	newer @code{ntpq} to behave identically in this regard.
87285612Sdelphij	_EndOfDoc_;
88285612Sdelphij};
89181834Sroberto
90285612Sdelphijflag = {
91285612Sdelphij    name      = peers;
92285612Sdelphij    value     = p;
93285612Sdelphij    descrip   = "Print a list of the peers";
94285612Sdelphij    flags-cant = interactive;
95285612Sdelphij    call-proc = ntpq_custom_opt_handler;
96285612Sdelphij    doc = <<-  _EndOfDoc_
97285612Sdelphij	Print a list of the peers known to the server as well as a summary
98285612Sdelphij	of their state. This is equivalent to the 'peers' interactive command.
99285612Sdelphij	_EndOfDoc_;
100285612Sdelphij};
101181834Sroberto
102285612Sdelphijflag = {
103298770Sdelphij    name      = refid;
104298770Sdelphij    value     = r;
105298770Sdelphij    descrip   = "Set default display type for S2+ refids";
106298770Sdelphij    arg-type  = keyword;
107298770Sdelphij    keyword   = hash, ipv4;
108298770Sdelphij    arg-default = ipv4;
109298770Sdelphij    doc = <<-  _EndOfDoc_
110298770Sdelphij	Set the default display format for S2+ refids.
111298770Sdelphij	_EndOfDoc_;
112298770Sdelphij};
113298770Sdelphij
114298770Sdelphijflag = {
115285612Sdelphij    name      = wide;
116285612Sdelphij    value     = w;
117285612Sdelphij    descrip   = "Display the full 'remote' value";
118285612Sdelphij    doc = <<-  _EndOfDoc_
119285612Sdelphij	Display the full value of the 'remote' value.  If this requires
120285612Sdelphij	more than 15 characters, display the full value, emit a newline,
121285612Sdelphij	and continue the data display properly indented on the next line.
122285612Sdelphij	_EndOfDoc_;
123285612Sdelphij};
124181834Sroberto
125285612Sdelphijdoc-section	= {
126285612Sdelphij  ds-type	= 'DESCRIPTION';
127285612Sdelphij  ds-format	= 'mdoc';
128285612Sdelphij  ds-text	= <<-  _END_PROG_MDOC_DESCRIP
129330567Sgordon.Pp
130285612SdelphijThe
131285612Sdelphij.Nm
132330567Sgordonutility program is used to query NTP servers to monitor NTP operations
133330567Sgordonand performance, requesting
134285612Sdelphijinformation about current state and/or changes in that state.
135285612SdelphijThe program may be run either in interactive mode or controlled using
136285612Sdelphijcommand line arguments.
137285612SdelphijRequests to read and write arbitrary
138285612Sdelphijvariables can be assembled, with raw and pretty-printed output
139285612Sdelphijoptions being available.
140285612SdelphijThe
141285612Sdelphij.Nm
142285612Sdelphijutility can also obtain and print a
143285612Sdelphijlist of peers in a common format by sending multiple queries to the
144285612Sdelphijserver.
145330567Sgordon.Pp
146285612SdelphijIf one or more request options is included on the command line
147285612Sdelphijwhen
148285612Sdelphij.Nm
149285612Sdelphijis executed, each of the requests will be sent
150285612Sdelphijto the NTP servers running on each of the hosts given as command
151285612Sdelphijline arguments, or on localhost by default.
152285612SdelphijIf no request options
153285612Sdelphijare given,
154285612Sdelphij.Nm
155285612Sdelphijwill attempt to read commands from the
156285612Sdelphijstandard input and execute these on the NTP server running on the
157285612Sdelphijfirst host given on the command line, again defaulting to localhost
158285612Sdelphijwhen no other host is specified.
159285612SdelphijThe
160285612Sdelphij.Nm
161285612Sdelphijutility will prompt for
162285612Sdelphijcommands if the standard input is a terminal device.
163330567Sgordon.Pp
164285612Sdelphij.Nm
165285612Sdelphijuses NTP mode 6 packets to communicate with the
166285612SdelphijNTP server, and hence can be used to query any compatible server on
167285612Sdelphijthe network which permits it.
168285612SdelphijNote that since NTP is a UDP protocol
169285612Sdelphijthis communication will be somewhat unreliable, especially over
170285612Sdelphijlarge distances in terms of network topology.
171285612SdelphijThe
172285612Sdelphij.Nm
173285612Sdelphijutility makes
174285612Sdelphijone attempt to retransmit requests, and will time requests out if
175285612Sdelphijthe remote host is not heard from within a suitable timeout
176285612Sdelphijtime.
177330567Sgordon.Pp
178330567SgordonNote that in contexts where a host name is expected, a
179330567Sgordon.Fl 4
180330567Sgordonqualifier preceding the host name forces resolution to the IPv4
181330567Sgordonnamespace, while a
182330567Sgordon.Fl 6
183330567Sgordonqualifier forces resolution to the IPv6 namespace.
184330567SgordonFor examples and usage, see the
185330567Sgordon.Dq NTP Debugging Techniques
186330567Sgordonpage.
187330567Sgordon.Pp
188285612SdelphijSpecifying a
189285612Sdelphijcommand line option other than
190285612Sdelphij.Fl i
191285612Sdelphijor
192285612Sdelphij.Fl n
193285612Sdelphijwill
194285612Sdelphijcause the specified query (queries) to be sent to the indicated
195285612Sdelphijhost(s) immediately.
196285612SdelphijOtherwise,
197285612Sdelphij.Nm
198285612Sdelphijwill attempt to read
199285612Sdelphijinteractive format commands from the standard input.
200330567Sgordon
201285612Sdelphij.Ss "Internal Commands"
202330567Sgordon.Pp
203285612SdelphijInteractive format commands consist of a keyword followed by zero
204285612Sdelphijto four arguments.
205285612SdelphijOnly enough characters of the full keyword to
206285612Sdelphijuniquely identify the command need be typed.
207330567Sgordon.Pp
208285612SdelphijA
209285612Sdelphijnumber of interactive format commands are executed entirely within
210285612Sdelphijthe
211285612Sdelphij.Nm
212330567Sgordonutility itself and do not result in NTP
213285612Sdelphijrequests being sent to a server.
214285612SdelphijThese are described following.
215330567Sgordon.Bl -tag -width "help [command]" -compact -offset indent
216330567Sgordon.It Ic ? Op Ar command
217330567Sgordon.It Ic help Op Ar command
218285612SdelphijA
219285612Sdelphij.Ql \&?
220330567Sgordonby itself will print a list of all the commands
221330567Sgordonknown to
222285612Sdelphij.Nm .
223285612SdelphijA
224285612Sdelphij.Ql \&?
225330567Sgordonfollowed by a command name will print function and usage
226285612Sdelphijinformation about the command.
227330567Sgordon.It Ic addvars Ar name Ns Oo \&= Ns Ar value Oc Ns Op ,...
228330567Sgordon.It Ic rmvars Ar name Ns Op ,...
229285612Sdelphij.It Ic clearvars
230285612Sdelphij.It Ic showvars
231330567SgordonThe arguments to this command consist of a list of
232285612Sdelphijitems of the form
233330567Sgordon.Ar name Ns Op \&= Ns Ar value ,
234285612Sdelphijwhere the
235330567Sgordon.No \&= Ns Ar value
236285612Sdelphijis ignored, and can be omitted,
237285612Sdelphijin requests to the server to read variables.
238285612SdelphijThe
239285612Sdelphij.Nm
240330567Sgordonutility maintains an internal list in which data to be included in
241330567Sgordonmessages can be assembled, and displayed or set using the
242285612Sdelphij.Ic readlist
243285612Sdelphijand
244285612Sdelphij.Ic writelist
245285612Sdelphijcommands described below.
246285612SdelphijThe
247285612Sdelphij.Ic addvars
248285612Sdelphijcommand allows variables and their optional values to be added to
249285612Sdelphijthe list.
250285612SdelphijIf more than one variable is to be added, the list should
251285612Sdelphijbe comma-separated and not contain white space.
252285612SdelphijThe
253285612Sdelphij.Ic rmvars
254285612Sdelphijcommand can be used to remove individual variables from the list,
255285612Sdelphijwhile the
256330567Sgordon.Ic clearvars
257285612Sdelphijcommand removes all variables from the
258285612Sdelphijlist.
259285612SdelphijThe
260285612Sdelphij.Ic showvars
261285612Sdelphijcommand displays the current list of optional variables.
262330567Sgordon.It Ic authenticate Op Cm yes Ns | Ns Cm no
263285612SdelphijNormally
264285612Sdelphij.Nm
265285612Sdelphijdoes not authenticate requests unless
266285612Sdelphijthey are write requests.
267285612SdelphijThe command
268330567Sgordon.Ic authenticate Cm yes
269285612Sdelphijcauses
270285612Sdelphij.Nm
271285612Sdelphijto send authentication with all requests it
272285612Sdelphijmakes.
273285612SdelphijAuthenticated requests causes some servers to handle
274330567Sgordonrequests slightly differently.
275285612SdelphijThe command
276330567Sgordon.Ic authenticate
277285612Sdelphijcauses
278285612Sdelphij.Nm
279285612Sdelphijto display whether or not
280330567Sgordonit is currently authenticating requests.
281285612Sdelphij.It Ic cooked
282285612SdelphijCauses output from query commands to be "cooked", so that
283285612Sdelphijvariables which are recognized by
284285612Sdelphij.Nm
285285612Sdelphijwill have their
286285612Sdelphijvalues reformatted for human consumption.
287285612SdelphijVariables which
288285612Sdelphij.Nm
289330567Sgordoncould not decode completely are
290285612Sdelphijmarked with a trailing
291285612Sdelphij.Ql \&? .
292330567Sgordon.It Ic debug Op Cm more Ns | Ns Cm less Ns | Ns Cm off
293285612SdelphijWith no argument, displays the current debug level.
294330567SgordonOtherwise, the debugging level is changed as indicated.
295330567Sgordon.It Ic delay Op Ar milliseconds
296285612SdelphijSpecify a time interval to be added to timestamps included in
297285612Sdelphijrequests which require authentication.
298285612SdelphijThis is used to enable
299285612Sdelphij(unreliable) server reconfiguration over long delay network paths
300285612Sdelphijor between machines whose clocks are unsynchronized.
301285612SdelphijActually the
302285612Sdelphijserver does not now require timestamps in authenticated requests,
303285612Sdelphijso this command may be obsolete.
304330567SgordonWithout any arguments, displays the current delay.
305330567Sgordon.It Ic drefid Op Cm hash Ns | Ns Cm ipv4
306330567SgordonDisplay refids as IPv4 or hash.
307330567SgordonWithout any arguments, displays whether refids are shown as IPv4
308330567Sgordonaddresses or hashes.
309285612Sdelphij.It Ic exit
310285612SdelphijExit
311285612Sdelphij.Nm .
312330567Sgordon.It Ic host Op Ar name
313285612SdelphijSet the host to which future queries will be sent.
314330567SgordonThe
315330567Sgordon.Ar name
316285612Sdelphijmay be either a host name or a numeric address.
317330567SgordonWithout any arguments, displays the current host.
318330567Sgordon.It Ic hostnames Op Cm yes Ns | Ns Cm no
319285612SdelphijIf
320285612Sdelphij.Cm yes
321285612Sdelphijis specified, host names are printed in
322285612Sdelphijinformation displays.
323285612SdelphijIf
324285612Sdelphij.Cm no
325285612Sdelphijis specified, numeric
326285612Sdelphijaddresses are printed instead.
327285612SdelphijThe default is
328285612Sdelphij.Cm yes ,
329285612Sdelphijunless
330285612Sdelphijmodified using the command line
331285612Sdelphij.Fl n
332285612Sdelphijswitch.
333330567SgordonWithout any arguments, displays whether host names or numeric addresses
334330567Sgordonare shown.
335330567Sgordon.It Ic keyid Op Ar keyid
336285612SdelphijThis command allows the specification of a key number to be
337285612Sdelphijused to authenticate configuration requests.
338285612SdelphijThis must correspond
339285612Sdelphijto the
340285612Sdelphij.Cm controlkey
341285612Sdelphijkey number the server has been configured to use for this
342285612Sdelphijpurpose.
343330567SgordonWithout any arguments, displays the current
344330567Sgordon.Ar keyid .
345330567Sgordon.It Ic keytype Op Ar digest
346330567SgordonSpecify the digest algorithm to use for authenticating requests, with default
347330567Sgordon.Cm MD5 .
348285612SdelphijIf
349285612Sdelphij.Nm
350330567Sgordonwas built with OpenSSL support, and OpenSSL is installed,
351330567Sgordon.Ar digest
352330567Sgordoncan be any message digest algorithm supported by OpenSSL.
353285612SdelphijIf no argument is given, the current
354330567Sgordon.Ic keytype Ar digest
355330567Sgordonalgorithm used is displayed.
356330567Sgordon.It Ic ntpversion Op Cm 1 Ns | Ns Cm 2 Ns | Ns Cm 3 Ns | Ns Cm 4
357285612SdelphijSets the NTP version number which
358285612Sdelphij.Nm
359285612Sdelphijclaims in
360285612Sdelphijpackets.
361285612SdelphijDefaults to 3, and note that mode 6 control messages (and
362285612Sdelphijmodes, for that matter) didn't exist in NTP version 1.
363285612SdelphijThere appear
364285612Sdelphijto be no servers left which demand version 1.
365285612SdelphijWith no argument, displays the current NTP version that will be used
366285612Sdelphijwhen communicating with servers.
367285612Sdelphij.It Ic passwd
368285612SdelphijThis command prompts you to type in a password (which will not
369285612Sdelphijbe echoed) which will be used to authenticate configuration
370285612Sdelphijrequests.
371285612SdelphijThe password must correspond to the key configured for
372285612Sdelphijuse by the NTP server for this purpose if such requests are to be
373285612Sdelphijsuccessful.
374330567Sgordon.It Ic poll Oo Ar n Oc Op Cm verbose
375330567SgordonPoll an NTP server in client mode
376330567Sgordon.Ar n
377330567Sgordontimes.
378330567SgordonPoll not implemented yet.
379285612Sdelphij.It Ic quit
380285612SdelphijExit
381285612Sdelphij.Nm .
382285612Sdelphij.It Ic raw
383285612SdelphijCauses all output from query commands is printed as received
384285612Sdelphijfrom the remote server.
385285612SdelphijThe only formating/interpretation done on
386285612Sdelphijthe data is to transform nonascii data into a printable (but barely
387285612Sdelphijunderstandable) form.
388330567Sgordon.It Ic timeout Op Ar milliseconds
389285612SdelphijSpecify a timeout period for responses to server queries.
390285612SdelphijThe
391285612Sdelphijdefault is about 5000 milliseconds.
392330567SgordonWithout any arguments, displays the current timeout period.
393285612SdelphijNote that since
394285612Sdelphij.Nm
395285612Sdelphijretries each query once after a timeout, the total waiting time for
396285612Sdelphija timeout will be twice the timeout value set.
397285612Sdelphij.It Ic version
398330567SgordonDisplay the version of the
399285612Sdelphij.Nm
400285612Sdelphijprogram.
401285612Sdelphij.El
402285612Sdelphij
403285612Sdelphij.Ss "Control Message Commands"
404330567SgordonAssociation ids are used to identify system, peer and clock variables.
405330567SgordonSystem variables are assigned an association id of zero and system name
406330567Sgordonspace, while each association is assigned a nonzero association id and
407330567Sgordonpeer namespace.
408330567SgordonMost control commands send a single message to the server and expect a
409330567Sgordonsingle response message.
410285612SdelphijThe exceptions are the
411330567Sgordon.Ic peers
412285612Sdelphijcommand, which sends a series of messages,
413285612Sdelphijand the
414330567Sgordon.Ic mreadlist
415285612Sdelphijand
416330567Sgordon.Ic mreadvar
417285612Sdelphijcommands, which iterate over a range of associations.
418285612Sdelphij.Bl -tag -width "something" -compact -offset indent
419330567Sgordon.It Ic apeers
420330567SgordonDisplay a list of peers in the form:
421330567Sgordon.Dl [tally]remote refid assid st t when pool reach delay offset jitter
422330567Sgordonwhere the output is just like the
423330567Sgordon.Ic peers
424330567Sgordoncommand except that the
425330567Sgordon.Cm refid
426330567Sgordonis displayed in hex format and the association number is also displayed.
427330567Sgordon.It Ic associations
428285612SdelphijDisplay a list of mobilized associations in the form:
429285612Sdelphij.Dl ind assid status conf reach auth condition last_event cnt
430330567Sgordon.Bl -column -offset indent ".Sy Variable" "see the select field of the peer status word"
431330567Sgordon.It Sy Variable Ta Sy Description
432330567Sgordon.It Cm ind Ta index on this list
433330567Sgordon.It Cm assid Ta association id
434330567Sgordon.It Cm status Ta peer status word
435330567Sgordon.It Cm conf Ta Cm yes : No persistent, Cm no : No ephemeral
436330567Sgordon.It Cm reach Ta Cm yes : No reachable, Cm no : No unreachable
437330567Sgordon.It Cm auth Ta Cm ok , Cm yes , Cm bad No and Cm none
438330567Sgordon.It Cm condition Ta selection status \&(see the Cm select No field of the peer status word\&)
439330567Sgordon.It Cm last_event Ta event report \&(see the Cm event No field of the peer status word\&)
440330567Sgordon.It Cm cnt Ta event count \&(see the Cm count No field of the peer status word\&)
441285612Sdelphij.El
442330567Sgordon.It Ic authinfo
443330567SgordonDisplay the authentication statistics counters:
444330567Sgordontime since reset, stored keys, free keys, key lookups, keys not found,
445330567Sgordonuncached keys, expired keys, encryptions, decryptions.
446330567Sgordon.It Ic clocklist Op Ar associd
447330567Sgordon.It Ic cl Op Ar associd
448330567SgordonDisplay all clock variables in the variable list for those associations
449330567Sgordonsupporting a reference clock.
450330567Sgordon.It Ic clockvar Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
451330567Sgordon.It Ic cv Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
452330567SgordonDisplay a list of clock variables for those associations supporting a
453330567Sgordonreference clock.
454330567Sgordon.It Ic :config Ar "configuration command line"
455330567SgordonSend the remainder of the command line, including whitespace, to the
456330567Sgordonserver as a run-time configuration command in the same format as a line
457330567Sgordonin the configuration file.
458330567SgordonThis command is experimental until further notice and clarification.
459330567SgordonAuthentication is of course required.
460330567Sgordon.It Ic config-from-file Ar filename
461330567SgordonSend each line of
462285612Sdelphij.Ar filename
463330567Sgordonto the server as run-time configuration commands in the same format as
464330567Sgordonlines in the configuration file.
465330567SgordonThis command is experimental until further notice and clarification.
466330567SgordonAuthentication is required.
467285612Sdelphij.It Ic ifstats
468330567SgordonDisplay status and statistics counters for each local network interface address:
469330567Sgordoninterface number, interface name and address or broadcast, drop, flag,
470330567Sgordonttl, mc, received, sent, send failed, peers, uptime.
471330567SgordonAuthentication is required.
472285612Sdelphij.It Ic iostats
473330567SgordonDisplay network and reference clock I/O statistics:
474330567Sgordontime since reset, receive buffers, free receive buffers, used receive buffers,
475330567Sgordonlow water refills, dropped packets, ignored packets, received packets,
476330567Sgordonpackets sent, packet send failures, input wakeups, useful input wakeups.
477285612Sdelphij.It Ic kerninfo
478330567SgordonDisplay kernel loop and PPS statistics:
479330567Sgordonassocid, status, pll offset, pll frequency, maximum error,
480330567Sgordonestimated error, kernel status, pll time constant, precision,
481330567Sgordonfrequency tolerance, pps frequency, pps stability, pps jitter,
482330567Sgordoncalibration interval, calibration cycles, jitter exceeded,
483330567Sgordonstability exceeded, calibration errors.
484330567SgordonAs with other ntpq output, times are in milliseconds; very small values
485330567Sgordonmay be shown as exponentials.
486330567SgordonThe precision value displayed is in milliseconds as well, unlike the
487330567Sgordonprecision system variable.
488285612Sdelphij.It Ic lassociations
489330567SgordonPerform the same function as the associations command, except display
490330567Sgordonmobilized and unmobilized associations, including all clients.
491330567Sgordon.It Ic lopeers Op Fl 4 Ns | Ns Fl 6
492330567SgordonDisplay a list of all peers and clients showing
493330567Sgordon.Cm dstadr
494330567Sgordon(associated with the given IP version).
495330567Sgordon.It Ic lpassociations
496330567SgordonDisplay the last obtained list of associations, including all clients.
497330567Sgordon.It Ic lpeers Op Fl 4 Ns | Ns Fl 6
498330567SgordonDisplay a list of all peers and clients (associated with the given IP version).
499330567Sgordon.It Ic monstats
500330567SgordonDisplay monitor facility status, statistics, and limits:
501330567Sgordonenabled, addresses, peak addresses, maximum addresses,
502330567Sgordonreclaim above count, reclaim older than, kilobytes, maximum kilobytes.
503330567Sgordon.It Ic mreadlist Ar associdlo Ar associdhi
504330567Sgordon.It Ic mrl Ar associdlo Ar associdhi
505330567SgordonPerform the same function as the
506330567Sgordon.Ic readlist
507330567Sgordoncommand for a range of association ids.
508330567Sgordon.It Ic mreadvar Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
509330567SgordonThis range may be determined from the list displayed by any
510330567Sgordoncommand showing associations.
511330567Sgordon.It Ic mrv Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
512330567SgordonPerform the same function as the
513330567Sgordon.Ic readvar
514330567Sgordoncommand for a range of association ids.
515330567SgordonThis range may be determined from the list displayed by any
516330567Sgordoncommand showing associations.
517330567Sgordon.It Xo Ic mrulist Oo Cm limited | Cm kod | Cm mincount Ns \&= Ns Ar count |
518330567Sgordon.Cm laddr Ns \&= Ns Ar localaddr | Cm sort Ns \&= Ns Oo \&- Oc Ns Ar sortorder |
519330567Sgordon.Cm resany Ns \&= Ns Ar hexmask | Cm resall Ns \&= Ns Ar hexmask Oc
520285612Sdelphij.Xc
521330567SgordonDisplay traffic counts of the most recently seen source addresses
522330567Sgordoncollected and maintained by the monitor facility.
523285612SdelphijWith the exception of
524330567Sgordon.Cm sort Ns \&= Ns Oo \&- Oc Ns Ar sortorder ,
525285612Sdelphijthe options filter the list returned by
526330567Sgordon.Xr ntpd 8 .
527285612SdelphijThe
528285612Sdelphij.Cm limited
529285612Sdelphijand
530285612Sdelphij.Cm kod
531330567Sgordonoptions return only entries representing client addresses from which the
532330567Sgordonlast packet received triggered either discarding or a KoD response.
533285612SdelphijThe
534285612Sdelphij.Cm mincount Ns = Ns Ar count
535285612Sdelphijoption filters entries representing less than
536285612Sdelphij.Ar count
537285612Sdelphijpackets.
538285612SdelphijThe
539285612Sdelphij.Cm laddr Ns = Ns Ar localaddr
540285612Sdelphijoption filters entries for packets received on any local address other than
541285612Sdelphij.Ar localaddr .
542285612Sdelphij.Cm resany Ns = Ns Ar hexmask
543285612Sdelphijand
544285612Sdelphij.Cm resall Ns = Ns Ar hexmask
545285612Sdelphijfilter entries containing none or less than all, respectively, of the bits in
546285612Sdelphij.Ar hexmask ,
547285612Sdelphijwhich must begin with
548285612Sdelphij.Cm 0x .
549285612SdelphijThe
550285612Sdelphij.Ar sortorder
551285612Sdelphijdefaults to
552285612Sdelphij.Cm lstint
553330567Sgordonand may be 
554285612Sdelphij.Cm addr ,
555330567Sgordon.Cm avgint ,
556285612Sdelphij.Cm count ,
557285612Sdelphij.Cm lstint ,
558330567Sgordonor any of those preceded by
559330567Sgordon.Ql \&-
560330567Sgordonto reverse the sort order.
561285612SdelphijThe output columns are:
562285612Sdelphij.Bl -tag -width "something" -compact -offset indent
563285612Sdelphij.It Column
564285612SdelphijDescription
565285612Sdelphij.It Ic lstint
566330567SgordonInterval in seconds between the receipt of the most recent packet from
567330567Sgordonthis address and the completion of the retrieval of the MRU list by
568285612Sdelphij.Nm .
569285612Sdelphij.It Ic avgint
570285612SdelphijAverage interval in s between packets from this address.
571285612Sdelphij.It Ic rstr
572285612SdelphijRestriction flags associated with this address.
573285612SdelphijMost are copied unchanged from the matching
574285612Sdelphij.Ic restrict
575330567Sgordoncommand, however 0x400 (kod) and 0x20 (limited) flags are cleared unless
576330567Sgordonthe last packet from this address triggered a rate control response.
577285612Sdelphij.It Ic r
578285612SdelphijRate control indicator, either
579285612Sdelphija period,
580285612Sdelphij.Ic L
581285612Sdelphijor
582285612Sdelphij.Ic K
583285612Sdelphijfor no rate control response,
584285612Sdelphijrate limiting by discarding, or rate limiting with a KoD response, respectively.
585285612Sdelphij.It Ic m
586285612SdelphijPacket mode.
587285612Sdelphij.It Ic v
588285612SdelphijPacket version number.
589285612Sdelphij.It Ic count
590285612SdelphijPackets received from this address.
591285612Sdelphij.It Ic rport
592285612SdelphijSource port of last packet from this address.
593285612Sdelphij.It Ic remote address
594330567Sgordonhost or DNS name, numeric address, or address followed by
595285612Sdelphijclaimed DNS name which could not be verified in parentheses.
596285612Sdelphij.El
597330567Sgordon.It Ic opeers Op Fl 4 | Fl 6
598285612SdelphijObtain and print the old-style list of all peers and clients showing
599330567Sgordon.Cm dstadr
600330567Sgordon(associated with the given IP version),
601285612Sdelphijrather than the
602330567Sgordon.Cm refid .
603285612Sdelphij.It Ic passociations
604285612SdelphijPerform the same function as the
605285612Sdelphij.Ic associations
606285612Sdelphijcommand,
607285612Sdelphijexcept that it uses previously stored data rather than making a new query.
608285612Sdelphij.It Ic peers
609285612SdelphijDisplay a list of peers in the form:
610285612Sdelphij.Dl [tally]remote refid st t when pool reach delay offset jitter
611285612Sdelphij.Bl -tag -width "something" -compact -offset indent
612285612Sdelphij.It Variable
613285612SdelphijDescription
614330567Sgordon.It Cm [tally]
615285612Sdelphijsingle-character code indicating current value of the
616285612Sdelphij.Ic select
617285612Sdelphijfield of the
618285612Sdelphij.Lk decode.html#peer "peer status word"
619330567Sgordon.It Cm remote
620285612Sdelphijhost name (or IP number) of peer.
621330567SgordonThe value displayed will be truncated to 15 characters unless the
622330567Sgordon.Nm
623285612Sdelphij.Fl w
624330567Sgordonoption is given, in which case the full value will be displayed
625330567Sgordonon the first line, and if too long,
626330567Sgordonthe remaining data will be displayed on the next line.
627330567Sgordon.It Cm refid
628330567Sgordonsource IP address or
629285612Sdelphij.Lk decode.html#kiss "'kiss code"
630330567Sgordon.It Cm st
631330567Sgordonstratum: 0 for local reference clocks, 1 for servers with local
632330567Sgordonreference clocks, ..., 16 for unsynchronized server clocks
633330567Sgordon.It Cm t
634285612Sdelphij.Ic u :
635285612Sdelphijunicast or manycast client,
636285612Sdelphij.Ic b :
637285612Sdelphijbroadcast or multicast client,
638330567Sgordon.Ic p :
639330567Sgordonpool source,
640285612Sdelphij.Ic l :
641285612Sdelphijlocal (reference clock),
642285612Sdelphij.Ic s :
643285612Sdelphijsymmetric (peer),
644285612Sdelphij.Ic A :
645285612Sdelphijmanycast server,
646285612Sdelphij.Ic B :
647285612Sdelphijbroadcast server,
648285612Sdelphij.Ic M :
649285612Sdelphijmulticast server
650330567Sgordon.It Cm when
651330567Sgordontime in seconds, minutes, hours, or days since the last packet
652330567Sgordonwas received, or
653330567Sgordon.Ql \&-
654330567Sgordonif a packet has never been received
655330567Sgordon.It Cm poll
656330567Sgordonpoll interval (s)
657330567Sgordon.It Cm reach
658285612Sdelphijreach shift register (octal)
659330567Sgordon.It Cm delay
660285612Sdelphijroundtrip delay
661330567Sgordon.It Cm offset
662285612Sdelphijoffset of server relative to this host
663330567Sgordon.It Cm jitter
664330567Sgordonoffset RMS error estimate.
665285612Sdelphij.El
666330567Sgordon.It Ic pstats Ar associd
667330567SgordonDisplay the statistics for the peer with the given
668330567Sgordon.Ar associd :
669330567Sgordonassocid, status, remote host, local address, time last received,
670330567Sgordontime until next send, reachability change, packets sent,
671330567Sgordonpackets received, bad authentication, bogus origin, duplicate,
672330567Sgordonbad dispersion, bad reference time, candidate order.
673330567Sgordon.It Ic readlist Op Ar associd
674330567Sgordon.It Ic rl Op Ar associd
675330567SgordonDisplay all system or peer variables.
676330567SgordonIf the
677330567Sgordon.Ar associd
678330567Sgordonis omitted, it is assumed to be zero.
679330567Sgordon.It Ic readvar Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
680330567Sgordon.It Ic rv Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
681330567SgordonDisplay the specified system or peer variables.
682285612SdelphijIf
683330567Sgordon.Ar associd
684285612Sdelphijis zero, the variables are from the
685285612Sdelphij.Sx System Variables
686285612Sdelphijname space, otherwise they are from the
687285612Sdelphij.Sx Peer Variables
688285612Sdelphijname space.
689285612SdelphijThe
690330567Sgordon.Ar associd
691285612Sdelphijis required, as the same name can occur in both spaces.
692285612SdelphijIf no
693285612Sdelphij.Ar name
694285612Sdelphijis included, all operative variables in the name space are displayed.
695285612SdelphijIn this case only, if the
696330567Sgordon.Ar associd
697330567Sgordonis omitted, it is assumed to be zero.
698285612SdelphijMultiple names are specified with comma separators and without whitespace.
699285612SdelphijNote that time values are represented in milliseconds
700285612Sdelphijand frequency values in parts-per-million (PPM).
701285612SdelphijSome NTP timestamps are represented in the format
702330567Sgordon.Ar YYYY Ns Ar MM Ar DD Ar TTTT ,
703330567Sgordonwhere
704330567Sgordon.Ar YYYY
705330567Sgordonis the year,
706330567Sgordon.Ar MM
707330567Sgordonthe month of year,
708330567Sgordon.Ar DD
709330567Sgordonthe day of month and
710330567Sgordon.Ar TTTT
711330567Sgordonthe time of day.
712285612Sdelphij.It Ic reslist
713330567SgordonDisplay the access control (restrict) list for
714285612Sdelphij.Nm .
715330567SgordonAuthentication is required.
716285612Sdelphij.It Ic saveconfig Ar filename
717330567SgordonSave the current configuration,
718330567Sgordonincluding any runtime modifications made by
719285612Sdelphij.Ic :config
720285612Sdelphijor
721285612Sdelphij.Ic config-from-file ,
722330567Sgordonto the NTP server host file
723285612Sdelphij.Ar filename .
724285612SdelphijThis command will be rejected by the server unless
725285612Sdelphij.Lk miscopt.html#saveconfigdir "saveconfigdir"
726285612Sdelphijappears in the
727330567Sgordon.Xr ntpd 8
728285612Sdelphijconfiguration file.
729285612Sdelphij.Ar filename
730285612Sdelphijcan use
731330567Sgordon.Xr date 1
732330567Sgordonformat specifiers to substitute the current date and time, for
733330567Sgordonexample,
734330567Sgordon.D1 Ic saveconfig Pa ntp-%Y%m%d-%H%M%S.conf .
735285612SdelphijThe filename used is stored in system variable
736330567Sgordon.Cm savedconfig .
737285612SdelphijAuthentication is required.
738330567Sgordon.It Ic sysinfo
739330567SgordonDisplay system operational summary:
740330567Sgordonassocid, status, system peer, system peer mode, leap indicator,
741330567Sgordonstratum, log2 precision, root delay, root dispersion,
742330567Sgordonreference id, reference time, system jitter, clock jitter,
743330567Sgordonclock wander, broadcast delay, symm. auth. delay.
744330567Sgordon.It Ic sysstats
745330567SgordonDisplay system uptime and packet counts maintained in the
746330567Sgordonprotocol module:
747330567Sgordonuptime, sysstats reset, packets received, current version,
748330567Sgordonolder version, bad length or format, authentication failed,
749330567Sgordondeclined, restricted, rate limited, KoD responses,
750330567Sgordonprocessed for time.
751285612Sdelphij.It Ic timerstats
752330567SgordonDisplay interval timer counters:
753330567Sgordontime since reset, timer overruns, calls to transmit.
754330567Sgordon.It Ic writelist Ar associd
755330567SgordonSet all system or peer variables included in the variable list.
756330567Sgordon.It Ic writevar Ar associd Ar name Ns = Ns Ar value Op , ...
757330567SgordonSet the specified variables in the variable list.
758285612SdelphijIf the
759330567Sgordon.Ar associd
760285612Sdelphijis zero, the variables are from the
761285612Sdelphij.Sx System Variables
762285612Sdelphijname space, otherwise they are from the
763285612Sdelphij.Sx Peer Variables
764285612Sdelphijname space.
765285612SdelphijThe
766330567Sgordon.Ar associd
767285612Sdelphijis required, as the same name can occur in both spaces.
768330567SgordonAuthentication is required.
769285612Sdelphij.El
770285612Sdelphij
771285612Sdelphij.Ss Status Words and Kiss Codes
772285612SdelphijThe current state of the operating program is shown
773285612Sdelphijin a set of status words
774285612Sdelphijmaintained by the system.
775285612SdelphijStatus information is also available on a per-association basis.
776330567SgordonThese words are displayed by the
777330567Sgordon.Ic readlist
778285612Sdelphijand
779330567Sgordon.Ic associations
780285612Sdelphijcommands both in hexadecimal and in decoded short tip strings.
781285612SdelphijThe codes, tips and short explanations are documented on the
782285612Sdelphij.Lk decode.html "Event Messages and Status Words"
783285612Sdelphijpage.
784285612SdelphijThe page also includes a list of system and peer messages,
785285612Sdelphijthe code for the latest of which is included in the status word.
786285612Sdelphij.Pp
787285612SdelphijInformation resulting from protocol machine state transitions
788285612Sdelphijis displayed using an informal set of ASCII strings called
789285612Sdelphij.Lk decode.html#kiss "kiss codes" .
790285612SdelphijThe original purpose was for kiss-o'-death (KoD) packets
791285612Sdelphijsent by the server to advise the client of an unusual condition.
792285612SdelphijThey are now displayed, when appropriate,
793285612Sdelphijin the reference identifier field in various billboards.
794285612Sdelphij
795285612Sdelphij.Ss System Variables
796285612SdelphijThe following system variables appear in the
797330567Sgordon.Ic readlist
798285612Sdelphijbillboard.
799285612SdelphijNot all variables are displayed in some configurations.
800330567Sgordon.Pp
801285612Sdelphij.Bl -tag -width "something" -compact -offset indent
802285612Sdelphij.It Variable
803285612SdelphijDescription
804330567Sgordon.It Cm status
805285612Sdelphij.Lk decode.html#sys "system status word"
806330567Sgordon.It Cm version
807285612SdelphijNTP software version and build time
808330567Sgordon.It Cm processor
809285612Sdelphijhardware platform and version
810330567Sgordon.It Cm system
811285612Sdelphijoperating system and version
812330567Sgordon.It Cm leap
813285612Sdelphijleap warning indicator (0-3)
814330567Sgordon.It Cm stratum
815285612Sdelphijstratum (1-15)
816330567Sgordon.It Cm precision
817285612Sdelphijprecision (log2 s)
818330567Sgordon.It Cm rootdelay
819285612Sdelphijtotal roundtrip delay to the primary reference clock
820330567Sgordon.It Cm rootdisp
821285612Sdelphijtotal dispersion to the primary reference clock
822330567Sgordon.It Cm refid
823330567Sgordonreference id or
824330567Sgordon.Lk decode.html#kiss "kiss code"
825330567Sgordon.It Cm reftime
826330567Sgordonreference time
827330567Sgordon.It Ic clock
828330567Sgordondate and time of day
829330567Sgordon.It Cm peer
830330567Sgordonsystem peer association id
831330567Sgordon.It Cm tc
832285612Sdelphijtime constant and poll exponent (log2 s) (3-17)
833330567Sgordon.It Cm mintc
834285612Sdelphijminimum time constant (log2 s) (3-10)
835330567Sgordon.It Cm offset
836330567Sgordoncombined offset of server relative to this host
837330567Sgordon.It Cm frequency
838330567Sgordonfrequency drift (PPM) relative to hardware clock
839330567Sgordon.It Cm sys_jitter
840285612Sdelphijcombined system jitter
841330567Sgordon.It Cm clk_wander
842285612Sdelphijclock frequency wander (PPM)
843330567Sgordon.It Cm clk_jitter
844285612Sdelphijclock jitter
845330567Sgordon.It Cm tai
846285612SdelphijTAI-UTC offset (s)
847330567Sgordon.It Cm leapsec
848285612SdelphijNTP seconds when the next leap second is/was inserted
849330567Sgordon.It Cm expire
850285612SdelphijNTP seconds when the NIST leapseconds file expires
851285612Sdelphij.El
852285612SdelphijThe jitter and wander statistics are exponentially-weighted RMS averages.
853285612SdelphijThe system jitter is defined in the NTPv4 specification;
854285612Sdelphijthe clock jitter statistic is computed by the clock discipline module.
855285612Sdelphij.Pp
856285612SdelphijWhen the NTPv4 daemon is compiled with the OpenSSL software library,
857285612Sdelphijadditional system variables are displayed,
858285612Sdelphijincluding some or all of the following,
859285612Sdelphijdepending on the particular Autokey dance:
860285612Sdelphij.Bl -tag -width "something" -compact -offset indent
861285612Sdelphij.It Variable
862285612SdelphijDescription
863330567Sgordon.It Cm host
864285612SdelphijAutokey host name for this host
865330567Sgordon.It Cm ident
866285612SdelphijAutokey group name for this host
867330567Sgordon.It Cm flags
868285612Sdelphijhost flags  (see Autokey specification)
869330567Sgordon.It Cm digest
870285612SdelphijOpenSSL message digest algorithm
871330567Sgordon.It Cm signature
872285612SdelphijOpenSSL digest/signature scheme
873330567Sgordon.It Cm update
874285612SdelphijNTP seconds at last signature update
875330567Sgordon.It Cm cert
876285612Sdelphijcertificate subject, issuer and certificate flags
877330567Sgordon.It Cm until
878285612SdelphijNTP seconds when the certificate expires
879285612Sdelphij.El
880285612Sdelphij.Ss Peer Variables
881285612SdelphijThe following peer variables appear in the
882330567Sgordon.Ic readlist
883285612Sdelphijbillboard for each association.
884285612SdelphijNot all variables are displayed in some configurations.
885330567Sgordon.Pp
886285612Sdelphij.Bl -tag -width "something" -compact -offset indent
887285612Sdelphij.It Variable
888285612SdelphijDescription
889330567Sgordon.It Cm associd
890330567Sgordonassociation id
891330567Sgordon.It Cm status
892285612Sdelphij.Lk decode.html#peer "peer status word"
893330567Sgordon.It Cm srcadr
894285612Sdelphijsource (remote) IP address
895330567Sgordon.It Cm srcport
896285612Sdelphijsource (remote) port
897330567Sgordon.It Cm dstadr
898285612Sdelphijdestination (local) IP address
899330567Sgordon.It Cm dstport
900285612Sdelphijdestination (local) port
901330567Sgordon.It Cm leap
902285612Sdelphijleap indicator (0-3)
903330567Sgordon.It Cm stratum
904285612Sdelphijstratum (0-15)
905330567Sgordon.It Cm precision
906285612Sdelphijprecision (log2 s)
907330567Sgordon.It Cm rootdelay
908285612Sdelphijtotal roundtrip delay to the primary reference clock
909330567Sgordon.It Cm rootdisp
910285612Sdelphijtotal root dispersion to the primary reference clock
911330567Sgordon.It Cm refid
912330567Sgordonreference id or
913285612Sdelphij.Lk decode.html#kiss "kiss code"
914330567Sgordon.It Cm reftime
915285612Sdelphijreference time
916330567Sgordon.It Cm rec
917330567Sgordonlast packet received time
918330567Sgordon.It Cm reach
919285612Sdelphijreach register (octal)
920330567Sgordon.It Cm unreach
921285612Sdelphijunreach counter
922330567Sgordon.It Cm hmode
923285612Sdelphijhost mode (1-6)
924330567Sgordon.It Cm pmode
925285612Sdelphijpeer mode (1-5)
926330567Sgordon.It Cm hpoll
927285612Sdelphijhost poll exponent (log2 s) (3-17)
928330567Sgordon.It Cm ppoll
929285612Sdelphijpeer poll exponent (log2 s) (3-17)
930330567Sgordon.It Cm headway
931285612Sdelphijheadway (see
932285612Sdelphij.Lk rate.html "Rate Management and the Kiss-o'-Death Packet" )
933330567Sgordon.It Cm flash
934285612Sdelphij.Lk decode.html#flash "flash status word"
935330567Sgordon.It Cm keyid
936330567Sgordonsymmetric key id
937330567Sgordon.It Cm offset
938285612Sdelphijfilter offset
939330567Sgordon.It Cm delay
940285612Sdelphijfilter delay
941330567Sgordon.It Cm dispersion
942285612Sdelphijfilter dispersion
943330567Sgordon.It Cm jitter
944285612Sdelphijfilter jitter
945330567Sgordon.It Cm bias
946285612Sdelphijunicast/broadcast bias
947330567Sgordon.It Cm xleave
948285612Sdelphijinterleave delay (see
949285612Sdelphij.Lk xleave.html "NTP Interleaved Modes" )
950285612Sdelphij.El
951285612SdelphijThe
952330567Sgordon.Cm bias
953285612Sdelphijvariable is calculated when the first broadcast packet is received
954285612Sdelphijafter the calibration volley.
955330567SgordonIt represents the offset of the broadcast subgraph relative to the
956330567Sgordonunicast subgraph.
957285612SdelphijThe
958330567Sgordon.Cm xleave
959285612Sdelphijvariable appears only for the interleaved symmetric and interleaved modes.
960285612SdelphijIt represents the internal queuing, buffering and transmission delays
961285612Sdelphijfor the preceding packet.
962285612Sdelphij.Pp
963285612SdelphijWhen the NTPv4 daemon is compiled with the OpenSSL software library,
964285612Sdelphijadditional peer variables are displayed, including the following:
965285612Sdelphij.Bl -tag -width "something" -compact -offset indent
966285612Sdelphij.It Variable
967285612SdelphijDescription
968330567Sgordon.It Cm flags
969285612Sdelphijpeer flags (see Autokey specification)
970330567Sgordon.It Cm host
971285612SdelphijAutokey server name
972330567Sgordon.It Cm flags
973285612Sdelphijpeer flags (see Autokey specification)
974330567Sgordon.It Cm signature
975285612SdelphijOpenSSL digest/signature scheme
976330567Sgordon.It Cm initsequence
977330567Sgordoninitial key id
978330567Sgordon.It Cm initkey
979285612Sdelphijinitial key index
980330567Sgordon.It Cm timestamp
981285612SdelphijAutokey signature timestamp
982330567Sgordon.It Cm ident
983330567SgordonAutokey group name for this association
984285612Sdelphij.El
985285612Sdelphij
986285612Sdelphij.Ss Clock Variables
987285612SdelphijThe following clock variables appear in the
988330567Sgordon.Ic clocklist
989285612Sdelphijbillboard for each association with a reference clock.
990285612SdelphijNot all variables are displayed in some configurations.
991285612Sdelphij.Bl -tag -width "something" -compact -offset indent
992285612Sdelphij.It Variable
993285612SdelphijDescription
994330567Sgordon.It Cm associd
995330567Sgordonassociation id
996330567Sgordon.It Cm status
997285612Sdelphij.Lk decode.html#clock "clock status word"
998330567Sgordon.It Cm device
999285612Sdelphijdevice description
1000330567Sgordon.It Cm timecode
1001285612SdelphijASCII time code string (specific to device)
1002330567Sgordon.It Cm poll
1003285612Sdelphijpoll messages sent
1004330567Sgordon.It Cm noreply
1005285612Sdelphijno reply
1006330567Sgordon.It Cm badformat
1007285612Sdelphijbad format
1008330567Sgordon.It Cm baddata
1009285612Sdelphijbad date or time
1010330567Sgordon.It Cm fudgetime1
1011285612Sdelphijfudge time 1
1012330567Sgordon.It Cm fudgetime2
1013285612Sdelphijfudge time 2
1014330567Sgordon.It Cm stratum
1015285612Sdelphijdriver stratum
1016330567Sgordon.It Cm refid
1017330567Sgordondriver reference id
1018330567Sgordon.It Cm flags
1019285612Sdelphijdriver flags
1020285612Sdelphij.El
1021285612Sdelphij	_END_PROG_MDOC_DESCRIP;
1022285612Sdelphij};
1023