xref: /freebsd/contrib/ntp/ntpdc/ntpdc.1ntpdcmdoc (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1*f5f40dd6SCy Schubert.Dd May 25 2024
22b15cb3dSCy Schubert.Dt NTPDC 1ntpdcmdoc User Commands
32b15cb3dSCy Schubert.Os
42b15cb3dSCy Schubert.\"  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.mdoc)
52b15cb3dSCy Schubert.\"
6*f5f40dd6SCy Schubert.\"  It has been AutoGen-ed  May 25, 2024 at 12:04:15 AM by AutoGen 5.18.16
72b15cb3dSCy Schubert.\"  From the definitions    ntpdc-opts.def
82b15cb3dSCy Schubert.\"  and the template file   agmdoc-cmd.tpl
92b15cb3dSCy Schubert.Sh NAME
102b15cb3dSCy Schubert.Nm ntpdc
112b15cb3dSCy Schubert.Nd vendor-specific NTPD control program
122b15cb3dSCy Schubert.Sh SYNOPSIS
132b15cb3dSCy Schubert.Nm
142b15cb3dSCy Schubert.\" Mixture of short (flag) options and long options
152b15cb3dSCy Schubert.Op Fl flags
162b15cb3dSCy Schubert.Op Fl flag Op Ar value
172b15cb3dSCy Schubert.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
182b15cb3dSCy Schubert[ host ...]
192b15cb3dSCy Schubert.Pp
202b15cb3dSCy Schubert.Sh DESCRIPTION
212b15cb3dSCy Schubert.Nm
222b15cb3dSCy Schubertis deprecated.
232b15cb3dSCy SchubertPlease use
242b15cb3dSCy Schubert.Xr ntpq 1ntpqmdoc instead \- it can do everything
252b15cb3dSCy Schubert.Nm
262b15cb3dSCy Schubertused to do, and it does so using a much more sane interface.
272b15cb3dSCy Schubert.Pp
282b15cb3dSCy Schubert.Nm
292b15cb3dSCy Schubertis a utility program used to query
302b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
312b15cb3dSCy Schubertabout its
322b15cb3dSCy Schubertcurrent state and to request changes in that state.
332b15cb3dSCy SchubertIt uses NTP mode 7 control message formats described in the source code.
342b15cb3dSCy SchubertThe program may
352b15cb3dSCy Schubertbe run either in interactive mode or controlled using command line
362b15cb3dSCy Schubertarguments.
372b15cb3dSCy SchubertExtensive state and statistics information is available
382b15cb3dSCy Schubertthrough the
392b15cb3dSCy Schubert.Nm
402b15cb3dSCy Schubertinterface.
412b15cb3dSCy SchubertIn addition, nearly all the
422b15cb3dSCy Schubertconfiguration options which can be specified at startup using
432b15cb3dSCy Schubertntpd's configuration file may also be specified at run time using
442b15cb3dSCy Schubert.Nm .
452b15cb3dSCy Schubert.Sh "OPTIONS"
462b15cb3dSCy Schubert.Bl -tag
472b15cb3dSCy Schubert.It  Fl 4 , Fl \-ipv4
482b15cb3dSCy SchubertForce IPv4 DNS name resolution.
492b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
502b15cb3dSCy Schubertipv6.
512b15cb3dSCy Schubert.sp
522b15cb3dSCy SchubertForce DNS resolution of following host names on the command line
532b15cb3dSCy Schubertto the IPv4 namespace.
542b15cb3dSCy Schubert.It  Fl 6 , Fl \-ipv6
552b15cb3dSCy SchubertForce IPv6 DNS name resolution.
562b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
572b15cb3dSCy Schubertipv4.
582b15cb3dSCy Schubert.sp
592b15cb3dSCy SchubertForce DNS resolution of following host names on the command line
602b15cb3dSCy Schubertto the IPv6 namespace.
612b15cb3dSCy Schubert.It  Fl c Ar cmd , Fl \-command Ns = Ns Ar cmd
622b15cb3dSCy Schubertrun a command and exit.
632b15cb3dSCy SchubertThis option may appear an unlimited number of times.
642b15cb3dSCy Schubert.sp
652b15cb3dSCy SchubertThe following argument is interpreted as an interactive format command
662b15cb3dSCy Schubertand is added to the list of commands to be executed on the specified
672b15cb3dSCy Schuberthost(s).
682b15cb3dSCy Schubert.It  Fl d , Fl \-debug\-level
692b15cb3dSCy SchubertIncrease debug verbosity level.
702b15cb3dSCy SchubertThis option may appear an unlimited number of times.
712b15cb3dSCy Schubert.sp
722b15cb3dSCy Schubert.It  Fl D Ar number , Fl \-set\-debug\-level Ns = Ns Ar number
732b15cb3dSCy SchubertSet the debug verbosity level.
742b15cb3dSCy SchubertThis option may appear an unlimited number of times.
752b15cb3dSCy SchubertThis option takes an integer number as its argument.
762b15cb3dSCy Schubert.sp
772b15cb3dSCy Schubert.It  Fl i , Fl \-interactive
782b15cb3dSCy SchubertForce ntpq to operate in interactive mode.
792b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
802b15cb3dSCy Schubertcommand, listpeers, peers, showpeers.
812b15cb3dSCy Schubert.sp
822b15cb3dSCy SchubertForce ntpq to operate in interactive mode.  Prompts will be written
832b15cb3dSCy Schubertto the standard output and commands read from the standard input.
842b15cb3dSCy Schubert.It  Fl l , Fl \-listpeers
852b15cb3dSCy SchubertPrint a list of the peers.
862b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
872b15cb3dSCy Schubertcommand.
882b15cb3dSCy Schubert.sp
892b15cb3dSCy SchubertPrint a list of the peers known to the server as well as a summary of
902b15cb3dSCy Schuberttheir state. This is equivalent to the 'listpeers' interactive command.
912b15cb3dSCy Schubert.It  Fl n , Fl \-numeric
922b15cb3dSCy Schubertnumeric host addresses.
932b15cb3dSCy Schubert.sp
942b15cb3dSCy SchubertOutput all host addresses in dotted\-quad numeric format rather than
952b15cb3dSCy Schubertconverting to the canonical host names.
962b15cb3dSCy Schubert.It  Fl p , Fl \-peers
972b15cb3dSCy SchubertPrint a list of the peers.
982b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
992b15cb3dSCy Schubertcommand.
1002b15cb3dSCy Schubert.sp
1012b15cb3dSCy SchubertPrint a list of the peers known to the server as well as a summary
1022b15cb3dSCy Schubertof their state. This is equivalent to the 'peers' interactive command.
1032b15cb3dSCy Schubert.It  Fl s , Fl \-showpeers
1042b15cb3dSCy SchubertShow a list of the peers.
1052b15cb3dSCy SchubertThis option must not appear in combination with any of the following options:
1062b15cb3dSCy Schubertcommand.
1072b15cb3dSCy Schubert.sp
1082b15cb3dSCy SchubertPrint a list of the peers known to the server as well as a summary
1092b15cb3dSCy Schubertof their state. This is equivalent to the 'dmpeers' interactive command.
110a466cc55SCy Schubert.It  Fl u , Fl \-unconnected
111a466cc55SCy SchubertUse unconnected UDP to communicate with ntpd (default on Windows).
112a466cc55SCy Schubert.sp
113a466cc55SCy SchubertOpen an unconnected UDP association to ntpd (the default
114a466cc55SCy Schuberton Windows).
1152b15cb3dSCy Schubert.It Fl \&? , Fl \-help
1162b15cb3dSCy SchubertDisplay usage information and exit.
1172b15cb3dSCy Schubert.It Fl \&! , Fl \-more\-help
1182b15cb3dSCy SchubertPass the extended usage information through a pager.
1192b15cb3dSCy Schubert.It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
1202b15cb3dSCy SchubertSave the option state to \fIcfgfile\fP.  The default is the \fIlast\fP
1212b15cb3dSCy Schubertconfiguration file listed in the \fBOPTION PRESETS\fP section, below.
1222b15cb3dSCy SchubertThe command will exit after updating the config file.
1232b15cb3dSCy Schubert.It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
1242b15cb3dSCy SchubertLoad options from \fIcfgfile\fP.
1252b15cb3dSCy SchubertThe \fIno\-load\-opts\fP form will disable the loading
1262b15cb3dSCy Schubertof earlier config/rc/ini files.  \fI\-\-no\-load\-opts\fP is handled early,
1272b15cb3dSCy Schubertout of order.
1282b15cb3dSCy Schubert.It Fl \-version Op Brq Ar v|c|n
1292b15cb3dSCy SchubertOutput version of program and exit.  The default mode is `v', a simple
1302b15cb3dSCy Schubertversion.  The `c' mode will print copyright information and `n' will
1312b15cb3dSCy Schubertprint the full copyright notice.
1322b15cb3dSCy Schubert.El
1332b15cb3dSCy Schubert.Sh "OPTION PRESETS"
1342b15cb3dSCy SchubertAny option that is not marked as \fInot presettable\fP may be preset
1352b15cb3dSCy Schubertby loading values from configuration ("RC" or ".INI") file(s) and values from
1362b15cb3dSCy Schubertenvironment variables named:
1372b15cb3dSCy Schubert.nf
1382b15cb3dSCy Schubert  \fBNTPDC_<option\-name>\fP or \fBNTPDC\fP
1392b15cb3dSCy Schubert.fi
1402b15cb3dSCy Schubert.ad
1412b15cb3dSCy SchubertThe environmental presets take precedence (are processed later than)
1422b15cb3dSCy Schubertthe configuration files.
1432b15cb3dSCy SchubertThe \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
1442b15cb3dSCy SchubertIf any of these are directories, then the file \fI.ntprc\fP
1452b15cb3dSCy Schubertis searched for within those directories.
1462b15cb3dSCy Schubert.Sh USAGE
1472b15cb3dSCy SchubertIf one or more request options are included on the command line
1482b15cb3dSCy Schubertwhen
1492b15cb3dSCy Schubert.Nm
1502b15cb3dSCy Schubertis executed, each of the requests will be sent
1512b15cb3dSCy Schubertto the NTP servers running on each of the hosts given as command
1522b15cb3dSCy Schubertline arguments, or on localhost by default.
1532b15cb3dSCy SchubertIf no request options
1542b15cb3dSCy Schubertare given,
1552b15cb3dSCy Schubert.Nm
1562b15cb3dSCy Schubertwill attempt to read commands from the
1572b15cb3dSCy Schubertstandard input and execute these on the NTP server running on the
1582b15cb3dSCy Schubertfirst host given on the command line, again defaulting to localhost
1592b15cb3dSCy Schubertwhen no other host is specified.
1602b15cb3dSCy SchubertThe
1612b15cb3dSCy Schubert.Nm
1622b15cb3dSCy Schubertutility will prompt for
1632b15cb3dSCy Schubertcommands if the standard input is a terminal device.
1642b15cb3dSCy Schubert.Pp
1652b15cb3dSCy SchubertThe
1662b15cb3dSCy Schubert.Nm
1672b15cb3dSCy Schubertutility uses NTP mode 7 packets to communicate with the
1682b15cb3dSCy SchubertNTP server, and hence can be used to query any compatible server on
1692b15cb3dSCy Schubertthe network which permits it.
1702b15cb3dSCy SchubertNote that since NTP is a UDP protocol
1712b15cb3dSCy Schubertthis communication will be somewhat unreliable, especially over
1722b15cb3dSCy Schubertlarge distances in terms of network topology.
1732b15cb3dSCy SchubertThe
1742b15cb3dSCy Schubert.Nm
1752b15cb3dSCy Schubertutility makes
1762b15cb3dSCy Schubertno attempt to retransmit requests, and will time requests out if
1772b15cb3dSCy Schubertthe remote host is not heard from within a suitable timeout
1782b15cb3dSCy Schuberttime.
1792b15cb3dSCy Schubert.Pp
1802b15cb3dSCy SchubertThe operation of
1812b15cb3dSCy Schubert.Nm
1822b15cb3dSCy Schubertare specific to the particular
1832b15cb3dSCy Schubertimplementation of the
1842b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
1852b15cb3dSCy Schubertdaemon and can be expected to
1862b15cb3dSCy Schubertwork only with this and maybe some previous versions of the daemon.
1872b15cb3dSCy SchubertRequests from a remote
1882b15cb3dSCy Schubert.Nm
1892b15cb3dSCy Schubertutility which affect the
1902b15cb3dSCy Schubertstate of the local server must be authenticated, which requires
1912b15cb3dSCy Schubertboth the remote program and local server share a common key and key
1922b15cb3dSCy Schubertidentifier.
1932b15cb3dSCy Schubert.Pp
1942b15cb3dSCy SchubertNote that in contexts where a host name is expected, a
1952b15cb3dSCy Schubert.Fl 4
1962b15cb3dSCy Schubertqualifier preceding the host name forces DNS resolution to the IPv4 namespace,
1972b15cb3dSCy Schubertwhile a
1982b15cb3dSCy Schubert.Fl 6
1992b15cb3dSCy Schubertqualifier forces DNS resolution to the IPv6 namespace.
2002b15cb3dSCy SchubertSpecifying a command line option other than
2012b15cb3dSCy Schubert.Fl i
2022b15cb3dSCy Schubertor
2032b15cb3dSCy Schubert.Fl n
2042b15cb3dSCy Schubertwill cause the specified query (queries) to be sent to
2052b15cb3dSCy Schubertthe indicated host(s) immediately.
2062b15cb3dSCy SchubertOtherwise,
2072b15cb3dSCy Schubert.Nm
2082b15cb3dSCy Schubertwill
2092b15cb3dSCy Schubertattempt to read interactive format commands from the standard
2102b15cb3dSCy Schubertinput.
2112b15cb3dSCy Schubert.Ss "Interactive Commands"
2122b15cb3dSCy SchubertInteractive format commands consist of a keyword followed by zero
2132b15cb3dSCy Schubertto four arguments.
2142b15cb3dSCy SchubertOnly enough characters of the full keyword to
2152b15cb3dSCy Schubertuniquely identify the command need be typed.
2162b15cb3dSCy SchubertThe output of a
2172b15cb3dSCy Schubertcommand is normally sent to the standard output, but optionally the
2182b15cb3dSCy Schubertoutput of individual commands may be sent to a file by appending a
2192b15cb3dSCy Schubert.Ql \&> ,
2202b15cb3dSCy Schubertfollowed by a file name, to the command line.
2212b15cb3dSCy Schubert.Pp
2222b15cb3dSCy SchubertA number of interactive format commands are executed entirely
2232b15cb3dSCy Schubertwithin the
2242b15cb3dSCy Schubert.Nm
2252b15cb3dSCy Schubertutility itself and do not result in NTP
2262b15cb3dSCy Schubertmode 7 requests being sent to a server.
2272b15cb3dSCy SchubertThese are described
2282b15cb3dSCy Schubertfollowing.
2292b15cb3dSCy Schubert.Bl -tag -width indent
2302b15cb3dSCy Schubert.It Ic \&? Ar command_keyword
2312b15cb3dSCy Schubert.It Ic help Ar command_keyword
2322b15cb3dSCy SchubertA
2332b15cb3dSCy Schubert.Sq Ic \&?
2342b15cb3dSCy Schubertwill print a list of all the command
2352b15cb3dSCy Schubertkeywords known to this incarnation of
2362b15cb3dSCy Schubert.Nm .
2372b15cb3dSCy SchubertA
2382b15cb3dSCy Schubert.Sq Ic \&?
2392b15cb3dSCy Schubertfollowed by a command keyword will print function and usage
2402b15cb3dSCy Schubertinformation about the command.
2412b15cb3dSCy SchubertThis command is probably a better
2422b15cb3dSCy Schubertsource of information about
2432b15cb3dSCy Schubert.Xr ntpq 1ntpqmdoc
2442b15cb3dSCy Schubertthan this manual
2452b15cb3dSCy Schubertpage.
2462b15cb3dSCy Schubert.It Ic delay Ar milliseconds
2472b15cb3dSCy SchubertSpecify a time interval to be added to timestamps included in
2482b15cb3dSCy Schubertrequests which require authentication.
2492b15cb3dSCy SchubertThis is used to enable
2502b15cb3dSCy Schubert(unreliable) server reconfiguration over long delay network paths
2512b15cb3dSCy Schubertor between machines whose clocks are unsynchronized.
2522b15cb3dSCy SchubertActually the
2532b15cb3dSCy Schubertserver does not now require timestamps in authenticated requests,
2542b15cb3dSCy Schubertso this command may be obsolete.
2552b15cb3dSCy Schubert.It Ic host Ar hostname
2562b15cb3dSCy SchubertSet the host to which future queries will be sent.
2572b15cb3dSCy SchubertHostname may
2582b15cb3dSCy Schubertbe either a host name or a numeric address.
2592b15cb3dSCy Schubert.It Ic hostnames Op Cm yes | Cm no
2602b15cb3dSCy SchubertIf
2612b15cb3dSCy Schubert.Cm yes
2622b15cb3dSCy Schubertis specified, host names are printed in
2632b15cb3dSCy Schubertinformation displays.
2642b15cb3dSCy SchubertIf
2652b15cb3dSCy Schubert.Cm no
2662b15cb3dSCy Schubertis specified, numeric
2672b15cb3dSCy Schubertaddresses are printed instead.
2682b15cb3dSCy SchubertThe default is
2692b15cb3dSCy Schubert.Cm yes ,
2702b15cb3dSCy Schubertunless
2712b15cb3dSCy Schubertmodified using the command line
2722b15cb3dSCy Schubert.Fl n
2732b15cb3dSCy Schubertswitch.
2742b15cb3dSCy Schubert.It Ic keyid Ar keyid
2752b15cb3dSCy SchubertThis command allows the specification of a key number to be
2762b15cb3dSCy Schubertused to authenticate configuration requests.
2772b15cb3dSCy SchubertThis must correspond
2782b15cb3dSCy Schubertto a key number the server has been configured to use for this
2792b15cb3dSCy Schubertpurpose.
2802b15cb3dSCy Schubert.It Ic quit
2812b15cb3dSCy SchubertExit
2822b15cb3dSCy Schubert.Nm .
2832b15cb3dSCy Schubert.It Ic passwd
2842b15cb3dSCy SchubertThis command prompts you to type in a password (which will not
2852b15cb3dSCy Schubertbe echoed) which will be used to authenticate configuration
2862b15cb3dSCy Schubertrequests.
2872b15cb3dSCy SchubertThe password must correspond to the key configured for
2882b15cb3dSCy Schubertuse by the NTP server for this purpose if such requests are to be
2892b15cb3dSCy Schubertsuccessful.
2902b15cb3dSCy Schubert.It Ic timeout Ar milliseconds
2912b15cb3dSCy SchubertSpecify a timeout period for responses to server queries.
2922b15cb3dSCy SchubertThe
2932b15cb3dSCy Schubertdefault is about 8000 milliseconds.
2942b15cb3dSCy SchubertNote that since
2952b15cb3dSCy Schubert.Nm
2962b15cb3dSCy Schubertretries each query once after a timeout, the total waiting time for
2972b15cb3dSCy Schuberta timeout will be twice the timeout value set.
2982b15cb3dSCy Schubert.El
2992b15cb3dSCy Schubert.Ss "Control Message Commands"
3002b15cb3dSCy SchubertQuery commands result in NTP mode 7 packets containing requests for
3012b15cb3dSCy Schubertinformation being sent to the server.
3022b15cb3dSCy SchubertThese are read\-only commands
3032b15cb3dSCy Schubertin that they make no modification of the server configuration
3042b15cb3dSCy Schubertstate.
3052b15cb3dSCy Schubert.Bl -tag -width indent
3062b15cb3dSCy Schubert.It Ic listpeers
3072b15cb3dSCy SchubertObtains and prints a brief list of the peers for which the
3082b15cb3dSCy Schubertserver is maintaining state.
3092b15cb3dSCy SchubertThese should include all configured
3102b15cb3dSCy Schubertpeer associations as well as those peers whose stratum is such that
3112b15cb3dSCy Schubertthey are considered by the server to be possible future
3122b15cb3dSCy Schubertsynchronization candidates.
3132b15cb3dSCy Schubert.It Ic peers
3142b15cb3dSCy SchubertObtains a list of peers for which the server is maintaining
3152b15cb3dSCy Schubertstate, along with a summary of that state.
3162b15cb3dSCy SchubertSummary information
3172b15cb3dSCy Schubertincludes the address of the remote peer, the local interface
3182b15cb3dSCy Schubertaddress (0.0.0.0 if a local address has yet to be determined), the
3192b15cb3dSCy Schubertstratum of the remote peer (a stratum of 16 indicates the remote
3202b15cb3dSCy Schubertpeer is unsynchronized), the polling interval, in seconds, the
3212b15cb3dSCy Schubertreachability register, in octal, and the current estimated delay,
3222b15cb3dSCy Schubertoffset and dispersion of the peer, all in seconds.
3232b15cb3dSCy Schubert.Pp
3242b15cb3dSCy SchubertThe character in the left margin indicates the mode this peer
3252b15cb3dSCy Schubertentry is operating in.
3262b15cb3dSCy SchubertA
3272b15cb3dSCy Schubert.Ql \&+
3282b15cb3dSCy Schubertdenotes symmetric active, a
3292b15cb3dSCy Schubert.Ql \&\-
3302b15cb3dSCy Schubertindicates symmetric passive, a
3312b15cb3dSCy Schubert.Ql \&=
3322b15cb3dSCy Schubertmeans the
3332b15cb3dSCy Schubertremote server is being polled in client mode, a
3342b15cb3dSCy Schubert.Ql \&^
3352b15cb3dSCy Schubertindicates that the server is broadcasting to this address, a
3362b15cb3dSCy Schubert.Ql \&~
3372b15cb3dSCy Schubertdenotes that the remote peer is sending broadcasts and a
3382b15cb3dSCy Schubert.Ql \&~
3392b15cb3dSCy Schubertdenotes that the remote peer is sending broadcasts and a
3402b15cb3dSCy Schubert.Ql \&*
3412b15cb3dSCy Schubertmarks the peer the server is currently synchronizing
3422b15cb3dSCy Schubertto.
3432b15cb3dSCy Schubert.Pp
3442b15cb3dSCy SchubertThe contents of the host field may be one of four forms.
3452b15cb3dSCy SchubertIt may
3462b15cb3dSCy Schubertbe a host name, an IP address, a reference clock implementation
3472b15cb3dSCy Schubertname with its parameter or
3482b15cb3dSCy Schubert.Fn REFCLK "implementation_number" "parameter" .
3492b15cb3dSCy SchubertOn
3502b15cb3dSCy Schubert.Ic hostnames
3512b15cb3dSCy Schubert.Cm no
3522b15cb3dSCy Schubertonly IP\-addresses
3532b15cb3dSCy Schubertwill be displayed.
3542b15cb3dSCy Schubert.It Ic dmpeers
3552b15cb3dSCy SchubertA slightly different peer summary list.
3562b15cb3dSCy SchubertIdentical to the output
3572b15cb3dSCy Schubertof the
3582b15cb3dSCy Schubert.Ic peers
3592b15cb3dSCy Schubertcommand, except for the character in the
3602b15cb3dSCy Schubertleftmost column.
3612b15cb3dSCy SchubertCharacters only appear beside peers which were
3622b15cb3dSCy Schubertincluded in the final stage of the clock selection algorithm.
3632b15cb3dSCy SchubertA
3642b15cb3dSCy Schubert.Ql \&.
3652b15cb3dSCy Schubertindicates that this peer was cast off in the falseticker
3662b15cb3dSCy Schubertdetection, while a
3672b15cb3dSCy Schubert.Ql \&+
3682b15cb3dSCy Schubertindicates that the peer made it
3692b15cb3dSCy Schubertthrough.
3702b15cb3dSCy SchubertA
3712b15cb3dSCy Schubert.Ql \&*
3722b15cb3dSCy Schubertdenotes the peer the server is currently
3732b15cb3dSCy Schubertsynchronizing with.
3742b15cb3dSCy Schubert.It Ic showpeer Ar peer_address Oo Ar ... Oc
3752b15cb3dSCy SchubertShows a detailed display of the current peer variables for one
3762b15cb3dSCy Schubertor more peers.
3772b15cb3dSCy SchubertMost of these values are described in the NTP
3782b15cb3dSCy SchubertVersion 2 specification.
3792b15cb3dSCy Schubert.It Ic pstats Ar peer_address Oo Ar ... Oc
3802b15cb3dSCy SchubertShow per\-peer statistic counters associated with the specified
3812b15cb3dSCy Schubertpeer(s).
3822b15cb3dSCy Schubert.It Ic clockstat Ar clock_peer_address Oo Ar ... Oc
3832b15cb3dSCy SchubertObtain and print information concerning a peer clock.
3842b15cb3dSCy SchubertThe
3852b15cb3dSCy Schubertvalues obtained provide information on the setting of fudge factors
3862b15cb3dSCy Schubertand other clock performance information.
3872b15cb3dSCy Schubert.It Ic kerninfo
3882b15cb3dSCy SchubertObtain and print kernel phase\-lock loop operating parameters.
3892b15cb3dSCy SchubertThis information is available only if the kernel has been specially
3902b15cb3dSCy Schubertmodified for a precision timekeeping function.
3912b15cb3dSCy Schubert.It Ic loopinfo Op Cm oneline | Cm multiline
3922b15cb3dSCy SchubertPrint the values of selected loop filter variables.
3932b15cb3dSCy SchubertThe loop
3942b15cb3dSCy Schubertfilter is the part of NTP which deals with adjusting the local
3952b15cb3dSCy Schubertsystem clock.
3962b15cb3dSCy SchubertThe
3972b15cb3dSCy Schubert.Sq offset
3982b15cb3dSCy Schubertis the last offset given to the
3992b15cb3dSCy Schubertloop filter by the packet processing code.
4002b15cb3dSCy SchubertThe
4012b15cb3dSCy Schubert.Sq frequency
4022b15cb3dSCy Schubertis the frequency error of the local clock in parts\-per\-million
4032b15cb3dSCy Schubert(ppm).
4042b15cb3dSCy SchubertThe
4052b15cb3dSCy Schubert.Sq time_const
4062b15cb3dSCy Schubertcontrols the stiffness of the
4072b15cb3dSCy Schubertphase\-lock loop and thus the speed at which it can adapt to
4082b15cb3dSCy Schubertoscillator drift.
4092b15cb3dSCy SchubertThe
4102b15cb3dSCy Schubert.Sq watchdog timer
4112b15cb3dSCy Schubertvalue is the number
4122b15cb3dSCy Schubertof seconds which have elapsed since the last sample offset was
4132b15cb3dSCy Schubertgiven to the loop filter.
4142b15cb3dSCy SchubertThe
4152b15cb3dSCy Schubert.Cm oneline
4162b15cb3dSCy Schubertand
4172b15cb3dSCy Schubert.Cm multiline
4182b15cb3dSCy Schubertoptions specify the format in which this
4192b15cb3dSCy Schubertinformation is to be printed, with
4202b15cb3dSCy Schubert.Cm multiline
4212b15cb3dSCy Schubertas the
4222b15cb3dSCy Schubertdefault.
4232b15cb3dSCy Schubert.It Ic sysinfo
4242b15cb3dSCy SchubertPrint a variety of system state variables, i.e., state related
4252b15cb3dSCy Schubertto the local server.
4262b15cb3dSCy SchubertAll except the last four lines are described
4272b15cb3dSCy Schubertin the NTP Version 3 specification, RFC\-1305.
4282b15cb3dSCy Schubert.Pp
4292b15cb3dSCy SchubertThe
4302b15cb3dSCy Schubert.Sq system flags
4312b15cb3dSCy Schubertshow various system flags, some of
4322b15cb3dSCy Schubertwhich can be set and cleared by the
4332b15cb3dSCy Schubert.Ic enable
4342b15cb3dSCy Schubertand
4352b15cb3dSCy Schubert.Ic disable
4362b15cb3dSCy Schubertconfiguration commands, respectively.
4372b15cb3dSCy SchubertThese are
4382b15cb3dSCy Schubertthe
4392b15cb3dSCy Schubert.Cm auth ,
4402b15cb3dSCy Schubert.Cm bclient ,
4412b15cb3dSCy Schubert.Cm monitor ,
4422b15cb3dSCy Schubert.Cm pll ,
4432b15cb3dSCy Schubert.Cm pps
4442b15cb3dSCy Schubertand
4452b15cb3dSCy Schubert.Cm stats
4462b15cb3dSCy Schubertflags.
4472b15cb3dSCy SchubertSee the
4482b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
4492b15cb3dSCy Schubertdocumentation for the meaning of these flags.
4502b15cb3dSCy SchubertThere
4512b15cb3dSCy Schubertare two additional flags which are read only, the
4522b15cb3dSCy Schubert.Cm kernel_pll
4532b15cb3dSCy Schubertand
4542b15cb3dSCy Schubert.Cm kernel_pps .
4552b15cb3dSCy SchubertThese flags indicate
4562b15cb3dSCy Schubertthe synchronization status when the precision time kernel
4572b15cb3dSCy Schubertmodifications are in use.
4582b15cb3dSCy SchubertThe
4592b15cb3dSCy Schubert.Sq kernel_pll
4602b15cb3dSCy Schubertindicates that
4612b15cb3dSCy Schubertthe local clock is being disciplined by the kernel, while the
4622b15cb3dSCy Schubert.Sq kernel_pps
4632b15cb3dSCy Schubertindicates the kernel discipline is provided by the PPS
4642b15cb3dSCy Schubertsignal.
4652b15cb3dSCy Schubert.Pp
4662b15cb3dSCy SchubertThe
4672b15cb3dSCy Schubert.Sq stability
4682b15cb3dSCy Schubertis the residual frequency error remaining
4692b15cb3dSCy Schubertafter the system frequency correction is applied and is intended for
4702b15cb3dSCy Schubertmaintenance and debugging.
4712b15cb3dSCy SchubertIn most architectures, this value will
4722b15cb3dSCy Schubertinitially decrease from as high as 500 ppm to a nominal value in
4732b15cb3dSCy Schubertthe range .01 to 0.1 ppm.
4742b15cb3dSCy SchubertIf it remains high for some time after
4752b15cb3dSCy Schubertstarting the daemon, something may be wrong with the local clock,
4762b15cb3dSCy Schubertor the value of the kernel variable
4772b15cb3dSCy Schubert.Va kern.clockrate.tick
4782b15cb3dSCy Schubertmay be
4792b15cb3dSCy Schubertincorrect.
4802b15cb3dSCy Schubert.Pp
4812b15cb3dSCy SchubertThe
4822b15cb3dSCy Schubert.Sq broadcastdelay
4832b15cb3dSCy Schubertshows the default broadcast delay,
4842b15cb3dSCy Schubertas set by the
4852b15cb3dSCy Schubert.Ic broadcastdelay
4862b15cb3dSCy Schubertconfiguration command.
4872b15cb3dSCy Schubert.Pp
4882b15cb3dSCy SchubertThe
4892b15cb3dSCy Schubert.Sq authdelay
4902b15cb3dSCy Schubertshows the default authentication delay,
4912b15cb3dSCy Schubertas set by the
4922b15cb3dSCy Schubert.Ic authdelay
4932b15cb3dSCy Schubertconfiguration command.
4942b15cb3dSCy Schubert.It Ic sysstats
4952b15cb3dSCy SchubertPrint statistics counters maintained in the protocol
4962b15cb3dSCy Schubertmodule.
4972b15cb3dSCy Schubert.It Ic memstats
4982b15cb3dSCy SchubertPrint statistics counters related to memory allocation
4992b15cb3dSCy Schubertcode.
5002b15cb3dSCy Schubert.It Ic iostats
5012b15cb3dSCy SchubertPrint statistics counters maintained in the input\-output
5022b15cb3dSCy Schubertmodule.
5032b15cb3dSCy Schubert.It Ic timerstats
5042b15cb3dSCy SchubertPrint statistics counters maintained in the timer/event queue
5052b15cb3dSCy Schubertsupport code.
5062b15cb3dSCy Schubert.It Ic reslist
5072b15cb3dSCy SchubertObtain and print the server's restriction list.
5082b15cb3dSCy SchubertThis list is
5092b15cb3dSCy Schubert(usually) printed in sorted order and may help to understand how
5102b15cb3dSCy Schubertthe restrictions are applied.
5112b15cb3dSCy Schubert.It Ic monlist Op Ar version
5122b15cb3dSCy SchubertObtain and print traffic counts collected and maintained by the
5132b15cb3dSCy Schubertmonitor facility.
5142b15cb3dSCy SchubertThe version number should not normally need to be
5152b15cb3dSCy Schubertspecified.
5162b15cb3dSCy Schubert.It Ic clkbug Ar clock_peer_address Oo Ar ... Oc
5172b15cb3dSCy SchubertObtain debugging information for a reference clock driver.
5182b15cb3dSCy SchubertThis
5192b15cb3dSCy Schubertinformation is provided only by some clock drivers and is mostly
5202b15cb3dSCy Schubertundecodable without a copy of the driver source in hand.
5212b15cb3dSCy Schubert.El
5222b15cb3dSCy Schubert.Ss "Runtime Configuration Requests"
5232b15cb3dSCy SchubertAll requests which cause state changes in the server are
5242b15cb3dSCy Schubertauthenticated by the server using a configured NTP key (the
5252b15cb3dSCy Schubertfacility can also be disabled by the server by not configuring a
5262b15cb3dSCy Schubertkey).
5272b15cb3dSCy SchubertThe key number and the corresponding key must also be made
5282b15cb3dSCy Schubertknown to
5292b15cb3dSCy Schubert.Nm .
5302b15cb3dSCy SchubertThis can be done using the
5312b15cb3dSCy Schubert.Ic keyid
5322b15cb3dSCy Schubertand
5332b15cb3dSCy Schubert.Ic passwd
5342b15cb3dSCy Schubertcommands, the latter of which will prompt at the terminal for a
5352b15cb3dSCy Schubertpassword to use as the encryption key.
5362b15cb3dSCy SchubertYou will also be prompted
5372b15cb3dSCy Schubertautomatically for both the key number and password the first time a
5382b15cb3dSCy Schubertcommand which would result in an authenticated request to the
5392b15cb3dSCy Schubertserver is given.
5402b15cb3dSCy SchubertAuthentication not only provides verification that
5412b15cb3dSCy Schubertthe requester has permission to make such changes, but also gives
5422b15cb3dSCy Schubertan extra degree of protection again transmission errors.
5432b15cb3dSCy Schubert.Pp
5442b15cb3dSCy SchubertAuthenticated requests always include a timestamp in the packet
5452b15cb3dSCy Schubertdata, which is included in the computation of the authentication
5462b15cb3dSCy Schubertcode.
5472b15cb3dSCy SchubertThis timestamp is compared by the server to its receive time
5482b15cb3dSCy Schubertstamp.
5492b15cb3dSCy SchubertIf they differ by more than a small amount the request is
5502b15cb3dSCy Schubertrejected.
5512b15cb3dSCy SchubertThis is done for two reasons.
5522b15cb3dSCy SchubertFirst, it makes simple
5532b15cb3dSCy Schubertreplay attacks on the server, by someone who might be able to
5542b15cb3dSCy Schubertoverhear traffic on your LAN, much more difficult.
5552b15cb3dSCy SchubertSecond, it makes
5562b15cb3dSCy Schubertit more difficult to request configuration changes to your server
5572b15cb3dSCy Schubertfrom topologically remote hosts.
5582b15cb3dSCy SchubertWhile the reconfiguration facility
5592b15cb3dSCy Schubertwill work well with a server on the local host, and may work
5602b15cb3dSCy Schubertadequately between time\-synchronized hosts on the same LAN, it will
5612b15cb3dSCy Schubertwork very poorly for more distant hosts.
5622b15cb3dSCy SchubertAs such, if reasonable
5632b15cb3dSCy Schubertpasswords are chosen, care is taken in the distribution and
5642b15cb3dSCy Schubertprotection of keys and appropriate source address restrictions are
5652b15cb3dSCy Schubertapplied, the run time reconfiguration facility should provide an
5662b15cb3dSCy Schubertadequate level of security.
5672b15cb3dSCy Schubert.Pp
5682b15cb3dSCy SchubertThe following commands all make authenticated requests.
5692b15cb3dSCy Schubert.Bl -tag -width indent
5702b15cb3dSCy Schubert.It Xo Ic addpeer Ar peer_address
5712b15cb3dSCy Schubert.Op Ar keyid
5722b15cb3dSCy Schubert.Op Ar version
5732b15cb3dSCy Schubert.Op Cm prefer
5742b15cb3dSCy Schubert.Xc
5752b15cb3dSCy SchubertAdd a configured peer association at the given address and
5762b15cb3dSCy Schubertoperating in symmetric active mode.
5772b15cb3dSCy SchubertNote that an existing
5782b15cb3dSCy Schubertassociation with the same peer may be deleted when this command is
5792b15cb3dSCy Schubertexecuted, or may simply be converted to conform to the new
5802b15cb3dSCy Schubertconfiguration, as appropriate.
5812b15cb3dSCy SchubertIf the optional
5822b15cb3dSCy Schubert.Ar keyid
5832b15cb3dSCy Schubertis a
5842b15cb3dSCy Schubertnonzero integer, all outgoing packets to the remote server will
5852b15cb3dSCy Schuberthave an authentication field attached encrypted with this key.
5862b15cb3dSCy SchubertIf
5872b15cb3dSCy Schubertthe value is 0 (or not given) no authentication will be done.
5882b15cb3dSCy SchubertThe
5892b15cb3dSCy Schubert.Ar version
5902b15cb3dSCy Schubertcan be 1, 2 or 3 and defaults to 3.
5912b15cb3dSCy SchubertThe
5922b15cb3dSCy Schubert.Cm prefer
5932b15cb3dSCy Schubertkeyword indicates a preferred peer (and thus will
5942b15cb3dSCy Schubertbe used primarily for clock synchronisation if possible).
5952b15cb3dSCy SchubertThe
5962b15cb3dSCy Schubertpreferred peer also determines the validity of the PPS signal \- if
5972b15cb3dSCy Schubertthe preferred peer is suitable for synchronisation so is the PPS
5982b15cb3dSCy Schubertsignal.
5992b15cb3dSCy Schubert.It Xo Ic addserver Ar peer_address
6002b15cb3dSCy Schubert.Op Ar keyid
6012b15cb3dSCy Schubert.Op Ar version
6022b15cb3dSCy Schubert.Op Cm prefer
6032b15cb3dSCy Schubert.Xc
6042b15cb3dSCy SchubertIdentical to the addpeer command, except that the operating
6052b15cb3dSCy Schubertmode is client.
6062b15cb3dSCy Schubert.It Xo Ic broadcast Ar peer_address
6072b15cb3dSCy Schubert.Op Ar keyid
6082b15cb3dSCy Schubert.Op Ar version
6092b15cb3dSCy Schubert.Op Cm prefer
6102b15cb3dSCy Schubert.Xc
6112b15cb3dSCy SchubertIdentical to the addpeer command, except that the operating
6122b15cb3dSCy Schubertmode is broadcast.
6132b15cb3dSCy SchubertIn this case a valid key identifier and key are
6142b15cb3dSCy Schubertrequired.
6152b15cb3dSCy SchubertThe
6162b15cb3dSCy Schubert.Ar peer_address
6172b15cb3dSCy Schubertparameter can be the broadcast
6182b15cb3dSCy Schubertaddress of the local network or a multicast group address assigned
6192b15cb3dSCy Schubertto NTP.
6202b15cb3dSCy SchubertIf a multicast address, a multicast\-capable kernel is
6212b15cb3dSCy Schubertrequired.
6222b15cb3dSCy Schubert.It Ic unconfig Ar peer_address Oo Ar ... Oc
6232b15cb3dSCy SchubertThis command causes the configured bit to be removed from the
6242b15cb3dSCy Schubertspecified peer(s).
6252b15cb3dSCy SchubertIn many cases this will cause the peer
6262b15cb3dSCy Schubertassociation to be deleted.
6272b15cb3dSCy SchubertWhen appropriate, however, the
6282b15cb3dSCy Schubertassociation may persist in an unconfigured mode if the remote peer
6292b15cb3dSCy Schubertis willing to continue on in this fashion.
6302b15cb3dSCy Schubert.It Xo Ic fudge Ar peer_address
6312b15cb3dSCy Schubert.Op Cm time1
6322b15cb3dSCy Schubert.Op Cm time2
6332b15cb3dSCy Schubert.Op Ar stratum
6342b15cb3dSCy Schubert.Op Ar refid
6352b15cb3dSCy Schubert.Xc
6362b15cb3dSCy SchubertThis command provides a way to set certain data for a reference
6372b15cb3dSCy Schubertclock.
6382b15cb3dSCy SchubertSee the source listing for further information.
6392b15cb3dSCy Schubert.It Xo Ic enable
6402b15cb3dSCy Schubert.Oo
6412b15cb3dSCy Schubert.Cm auth | Cm bclient |
6422b15cb3dSCy Schubert.Cm calibrate | Cm kernel |
6432b15cb3dSCy Schubert.Cm monitor | Cm ntp |
6442b15cb3dSCy Schubert.Cm pps | Cm stats
6452b15cb3dSCy Schubert.Oc
6462b15cb3dSCy Schubert.Xc
6472b15cb3dSCy Schubert.It Xo Ic disable
6482b15cb3dSCy Schubert.Oo
6492b15cb3dSCy Schubert.Cm auth | Cm bclient |
6502b15cb3dSCy Schubert.Cm calibrate | Cm kernel |
6512b15cb3dSCy Schubert.Cm monitor | Cm ntp |
6522b15cb3dSCy Schubert.Cm pps | Cm stats
6532b15cb3dSCy Schubert.Oc
6542b15cb3dSCy Schubert.Xc
6552b15cb3dSCy SchubertThese commands operate in the same way as the
6562b15cb3dSCy Schubert.Ic enable
6572b15cb3dSCy Schubertand
6582b15cb3dSCy Schubert.Ic disable
6592b15cb3dSCy Schubertconfiguration file commands of
6602b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
6612b15cb3dSCy Schubert.Bl -tag -width indent
6622b15cb3dSCy Schubert.It Cm auth
6632b15cb3dSCy SchubertEnables the server to synchronize with unconfigured peers only
6642b15cb3dSCy Schubertif the peer has been correctly authenticated using either public key
6652b15cb3dSCy Schubertor private key cryptography.
6662b15cb3dSCy SchubertThe default for this flag is enable.
6672b15cb3dSCy Schubert.It Cm bclient
6682b15cb3dSCy SchubertEnables the server to listen for a message from a broadcast or
6692b15cb3dSCy Schubertmulticast server, as in the multicastclient command with
6702b15cb3dSCy Schubertdefault address.
6712b15cb3dSCy SchubertThe default for this flag is disable.
6722b15cb3dSCy Schubert.It Cm calibrate
6732b15cb3dSCy SchubertEnables the calibrate feature for reference clocks.
6742b15cb3dSCy SchubertThe default for this flag is disable.
6752b15cb3dSCy Schubert.It Cm kernel
6762b15cb3dSCy SchubertEnables the kernel time discipline, if available.
6772b15cb3dSCy SchubertThe default for this flag is enable if support is available, otherwise disable.
6782b15cb3dSCy Schubert.It Cm monitor
6792b15cb3dSCy SchubertEnables the monitoring facility.
6802b15cb3dSCy SchubertSee the documentation here about the
6812b15cb3dSCy Schubert.Cm monlist
6822b15cb3dSCy Schubertcommand or further information.
6832b15cb3dSCy SchubertThe default for this flag is enable.
6842b15cb3dSCy Schubert.It Cm ntp
6852b15cb3dSCy SchubertEnables time and frequency discipline.
6862b15cb3dSCy SchubertIn effect, this switch opens and closes the feedback loop,
6872b15cb3dSCy Schubertwhich is useful for testing.
6882b15cb3dSCy SchubertThe default for this flag is enable.
6892b15cb3dSCy Schubert.It Cm pps
6902b15cb3dSCy SchubertEnables the pulse\-per\-second (PPS) signal when frequency
6912b15cb3dSCy Schubertand time is disciplined by the precision time kernel modifications.
6922b15cb3dSCy SchubertSee the
6932b15cb3dSCy Schubert.Qq A Kernel Model for Precision Timekeeping
6942b15cb3dSCy Schubert(available as part of the HTML documentation
6952b15cb3dSCy Schubertprovided in
6962b15cb3dSCy Schubert.Pa /usr/share/doc/ntp )
6972b15cb3dSCy Schubertpage for further information.
6982b15cb3dSCy SchubertThe default for this flag is disable.
6992b15cb3dSCy Schubert.It Cm stats
7002b15cb3dSCy SchubertEnables the statistics facility.
7012b15cb3dSCy SchubertSee the
7022b15cb3dSCy Schubert.Sx Monitoring Options
7032b15cb3dSCy Schubertsection of
7042b15cb3dSCy Schubert.Xr ntp.conf 5
7052b15cb3dSCy Schubertfor further information.
7062b15cb3dSCy SchubertThe default for this flag is disable.
7072b15cb3dSCy Schubert.El
7082b15cb3dSCy Schubert.It Xo Ic restrict Ar address Ar mask
7092b15cb3dSCy Schubert.Ar flag Oo Ar ... Oc
7102b15cb3dSCy Schubert.Xc
7112b15cb3dSCy SchubertThis command operates in the same way as the
7122b15cb3dSCy Schubert.Ic restrict
7132b15cb3dSCy Schubertconfiguration file commands of
7142b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
7152b15cb3dSCy Schubert.It Xo Ic unrestrict Ar address Ar mask
7162b15cb3dSCy Schubert.Ar flag Oo Ar ... Oc
7172b15cb3dSCy Schubert.Xc
7182b15cb3dSCy SchubertUnrestrict the matching entry from the restrict list.
7192b15cb3dSCy Schubert.It Xo Ic delrestrict Ar address Ar mask
7202b15cb3dSCy Schubert.Op Cm ntpport
7212b15cb3dSCy Schubert.Xc
7222b15cb3dSCy SchubertDelete the matching entry from the restrict list.
7232b15cb3dSCy Schubert.It Ic readkeys
7242b15cb3dSCy SchubertCauses the current set of authentication keys to be purged and
7252b15cb3dSCy Schuberta new set to be obtained by rereading the keys file (which must
7262b15cb3dSCy Schuberthave been specified in the
7272b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
7282b15cb3dSCy Schubertconfiguration file).
7292b15cb3dSCy SchubertThis
7302b15cb3dSCy Schubertallows encryption keys to be changed without restarting the
7312b15cb3dSCy Schubertserver.
7322b15cb3dSCy Schubert.It Ic trustedkey Ar keyid Oo Ar ... Oc
7332b15cb3dSCy Schubert.It Ic untrustedkey Ar keyid Oo Ar ... Oc
7342b15cb3dSCy SchubertThese commands operate in the same way as the
7352b15cb3dSCy Schubert.Ic trustedkey
7362b15cb3dSCy Schubertand
7372b15cb3dSCy Schubert.Ic untrustedkey
7382b15cb3dSCy Schubertconfiguration file
7392b15cb3dSCy Schubertcommands of
7402b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
7412b15cb3dSCy Schubert.It Ic authinfo
7422b15cb3dSCy SchubertReturns information concerning the authentication module,
7432b15cb3dSCy Schubertincluding known keys and counts of encryptions and decryptions
7442b15cb3dSCy Schubertwhich have been done.
7452b15cb3dSCy Schubert.It Ic traps
7462b15cb3dSCy SchubertDisplay the traps set in the server.
7472b15cb3dSCy SchubertSee the source listing for
7482b15cb3dSCy Schubertfurther information.
7492b15cb3dSCy Schubert.It Xo Ic addtrap Ar address
7502b15cb3dSCy Schubert.Op Ar port
7512b15cb3dSCy Schubert.Op Ar interface
7522b15cb3dSCy Schubert.Xc
7532b15cb3dSCy SchubertSet a trap for asynchronous messages.
7542b15cb3dSCy SchubertSee the source listing
7552b15cb3dSCy Schubertfor further information.
7562b15cb3dSCy Schubert.It Xo Ic clrtrap Ar address
7572b15cb3dSCy Schubert.Op Ar port
7582b15cb3dSCy Schubert.Op Ar interface
7592b15cb3dSCy Schubert.Xc
7602b15cb3dSCy SchubertClear a trap for asynchronous messages.
7612b15cb3dSCy SchubertSee the source listing
7622b15cb3dSCy Schubertfor further information.
7632b15cb3dSCy Schubert.It Ic reset
7642b15cb3dSCy SchubertClear the statistics counters in various modules of the server.
7652b15cb3dSCy SchubertSee the source listing for further information.
7662b15cb3dSCy Schubert.El
7672b15cb3dSCy Schubert.Sh "ENVIRONMENT"
7682b15cb3dSCy SchubertSee \fBOPTION PRESETS\fP for configuration environment variables.
7692b15cb3dSCy Schubert.Sh "FILES"
7702b15cb3dSCy SchubertSee \fBOPTION PRESETS\fP for configuration files.
7712b15cb3dSCy Schubert.Sh "EXIT STATUS"
7722b15cb3dSCy SchubertOne of the following exit values will be returned:
7732b15cb3dSCy Schubert.Bl -tag
7742b15cb3dSCy Schubert.It 0 " (EXIT_SUCCESS)"
7752b15cb3dSCy SchubertSuccessful program execution.
7762b15cb3dSCy Schubert.It 1 " (EXIT_FAILURE)"
7772b15cb3dSCy SchubertThe operation failed or the command syntax was not valid.
7782b15cb3dSCy Schubert.It 66 " (EX_NOINPUT)"
7792b15cb3dSCy SchubertA specified configuration file could not be loaded.
7802b15cb3dSCy Schubert.It 70 " (EX_SOFTWARE)"
7812b15cb3dSCy Schubertlibopts had an internal operational error.  Please report
7822b15cb3dSCy Schubertit to autogen\-users@lists.sourceforge.net.  Thank you.
7832b15cb3dSCy Schubert.El
7842b15cb3dSCy Schubert.Sh "SEE ALSO"
7852b15cb3dSCy Schubert.Xr ntp.conf 5 ,
7862b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
7872b15cb3dSCy Schubert.Rs
7882b15cb3dSCy Schubert.%A David L. Mills
7892b15cb3dSCy Schubert.%T Network Time Protocol (Version 3)
7902b15cb3dSCy Schubert.%O RFC1305
7912b15cb3dSCy Schubert.Re
7922b15cb3dSCy Schubert.Sh AUTHORS
7932b15cb3dSCy SchubertThe formatting directives in this document came from FreeBSD.
7942b15cb3dSCy Schubert.Sh "COPYRIGHT"
795*f5f40dd6SCy SchubertCopyright (C) 1992\-2024 The University of Delaware and Network Time Foundation all rights reserved.
7962b15cb3dSCy SchubertThis program is released under the terms of the NTP license, <http://ntp.org/license>.
7972b15cb3dSCy Schubert.Sh BUGS
7982b15cb3dSCy SchubertThe
7992b15cb3dSCy Schubert.Nm
8002b15cb3dSCy Schubertutility is a crude hack.
8012b15cb3dSCy SchubertMuch of the information it shows is
8022b15cb3dSCy Schubertdeadly boring and could only be loved by its implementer.
8032b15cb3dSCy SchubertThe
8042b15cb3dSCy Schubertprogram was designed so that new (and temporary) features were easy
8052b15cb3dSCy Schubertto hack in, at great expense to the program's ease of use.
8062b15cb3dSCy SchubertDespite
8072b15cb3dSCy Schubertthis, the program is occasionally useful.
8082b15cb3dSCy Schubert.Pp
8092b15cb3dSCy SchubertPlease report bugs to http://bugs.ntp.org .
8102b15cb3dSCy Schubert.Pp
811a466cc55SCy SchubertPlease send bug reports to: https://bugs.ntp.org, bugs@ntp.org
8122b15cb3dSCy Schubert.Sh "NOTES"
8132b15cb3dSCy SchubertThis manual page was \fIAutoGen\fP\-erated from the \fBntpdc\fP
8142b15cb3dSCy Schubertoption definitions.
815