Home | History | Annotate | Line # | Download | only in ntpdc
ntpdc.1ntpdcman revision 1.1.1.2.4.3
      1  1.1.1.2.4.2  snj .de1 NOP
      2  1.1.1.2.4.2  snj .  it 1 an-trap
      3  1.1.1.2.4.2  snj .  if \\n[.$] \,\\$*\/
      4  1.1.1.2.4.2  snj ..
      5  1.1.1.2.4.2  snj .ie t \
      6  1.1.1.2.4.2  snj .ds B-Font [CB]
      7  1.1.1.2.4.2  snj .ds I-Font [CI]
      8  1.1.1.2.4.2  snj .ds R-Font [CR]
      9  1.1.1.2.4.2  snj .el \
     10  1.1.1.2.4.2  snj .ds B-Font B
     11  1.1.1.2.4.2  snj .ds I-Font I
     12  1.1.1.2.4.2  snj .ds R-Font R
     13  1.1.1.2.4.3  snj .TH ntpdc 1ntpdcman "21 Oct 2015" "4.2.8p4" "User Commands"
     14  1.1.1.2.4.2  snj .\"
     15  1.1.1.2.4.3  snj .\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-Gvay7L/ag-Svaq6L)
     16  1.1.1.2.4.2  snj .\"
     17  1.1.1.2.4.3  snj .\" It has been AutoGen-ed October 21, 2015 at 12:38:51 PM by AutoGen 5.18.5
     18  1.1.1.2.4.2  snj .\" From the definitions ntpdc-opts.def
     19  1.1.1.2.4.2  snj .\" and the template file agman-cmd.tpl
     20  1.1.1.2.4.2  snj .SH NAME
     21  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     22  1.1.1.2.4.2  snj \- vendor-specific NTPD control program
     23  1.1.1.2.4.2  snj .SH SYNOPSIS
     24  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     25  1.1.1.2.4.2  snj .\" Mixture of short (flag) options and long options
     26  1.1.1.2.4.2  snj [\f\*[B-Font]\-flags\f[]]
     27  1.1.1.2.4.2  snj [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
     28  1.1.1.2.4.2  snj [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
     29  1.1.1.2.4.2  snj [ host ...]
     30  1.1.1.2.4.2  snj .sp \n(Ppu
     31  1.1.1.2.4.2  snj .ne 2
     32  1.1.1.2.4.2  snj 
     33  1.1.1.2.4.2  snj .SH DESCRIPTION
     34  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     35  1.1.1.2.4.2  snj is deprecated.
     36  1.1.1.2.4.2  snj Please use
     37  1.1.1.2.4.3  snj \fCntpq\f[]\fR(1ntpqmdoc)\f[] instead \- it can do everything
     38  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     39  1.1.1.2.4.2  snj used to do, and it does so using a much more sane interface.
     40  1.1.1.2.4.2  snj .sp \n(Ppu
     41  1.1.1.2.4.2  snj .ne 2
     42  1.1.1.2.4.2  snj 
     43  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     44  1.1.1.2.4.2  snj is a utility program used to query
     45  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[]
     46  1.1.1.2.4.2  snj about its
     47  1.1.1.2.4.2  snj current state and to request changes in that state.
     48  1.1.1.2.4.2  snj It uses NTP mode 7 control message formats described in the source code.
     49  1.1.1.2.4.2  snj The program may
     50  1.1.1.2.4.2  snj be run either in interactive mode or controlled using command line
     51  1.1.1.2.4.2  snj arguments.
     52  1.1.1.2.4.2  snj Extensive state and statistics information is available
     53  1.1.1.2.4.2  snj through the
     54  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
     55  1.1.1.2.4.2  snj interface.
     56  1.1.1.2.4.2  snj In addition, nearly all the
     57  1.1.1.2.4.2  snj configuration options which can be specified at startup using
     58  1.1.1.2.4.2  snj ntpd's configuration file may also be specified at run time using
     59  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP.
     60  1.1.1.2.4.2  snj .SH "OPTIONS"
     61  1.1.1.2.4.2  snj .TP
     62  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-4\f[], \f\*[B-Font]\-\-ipv4\f[]
     63  1.1.1.2.4.2  snj Force IPv4 DNS name resolution.
     64  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
     65  1.1.1.2.4.2  snj ipv6.
     66  1.1.1.2.4.2  snj .sp
     67  1.1.1.2.4.2  snj Force DNS resolution of following host names on the command line
     68  1.1.1.2.4.2  snj to the IPv4 namespace.
     69  1.1.1.2.4.2  snj .TP
     70  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-6\f[], \f\*[B-Font]\-\-ipv6\f[]
     71  1.1.1.2.4.2  snj Force IPv6 DNS name resolution.
     72  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
     73  1.1.1.2.4.2  snj ipv4.
     74  1.1.1.2.4.2  snj .sp
     75  1.1.1.2.4.2  snj Force DNS resolution of following host names on the command line
     76  1.1.1.2.4.2  snj to the IPv6 namespace.
     77  1.1.1.2.4.2  snj .TP
     78  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-c\f[] \f\*[I-Font]cmd\f[], \f\*[B-Font]\-\-command\f[]=\f\*[I-Font]cmd\f[]
     79  1.1.1.2.4.2  snj run a command and exit.
     80  1.1.1.2.4.2  snj This option may appear an unlimited number of times.
     81  1.1.1.2.4.2  snj .sp
     82  1.1.1.2.4.2  snj The following argument is interpreted as an interactive format command
     83  1.1.1.2.4.2  snj and is added to the list of commands to be executed on the specified
     84  1.1.1.2.4.2  snj host(s).
     85  1.1.1.2.4.2  snj .TP
     86  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-d\f[], \f\*[B-Font]\-\-debug\-level\f[]
     87  1.1.1.2.4.2  snj Increase debug verbosity level.
     88  1.1.1.2.4.2  snj This option may appear an unlimited number of times.
     89  1.1.1.2.4.2  snj .sp
     90  1.1.1.2.4.2  snj .TP
     91  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-D\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-set\-debug\-level\f[]=\f\*[I-Font]number\f[]
     92  1.1.1.2.4.2  snj Set the debug verbosity level.
     93  1.1.1.2.4.2  snj This option may appear an unlimited number of times.
     94  1.1.1.2.4.2  snj This option takes an integer number as its argument.
     95  1.1.1.2.4.2  snj .sp
     96  1.1.1.2.4.2  snj .TP
     97  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-i\f[], \f\*[B-Font]\-\-interactive\f[]
     98  1.1.1.2.4.2  snj Force ntpq to operate in interactive mode.
     99  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
    100  1.1.1.2.4.2  snj command, listpeers, peers, showpeers.
    101  1.1.1.2.4.2  snj .sp
    102  1.1.1.2.4.2  snj Force ntpq to operate in interactive mode.  Prompts will be written
    103  1.1.1.2.4.2  snj to the standard output and commands read from the standard input.
    104  1.1.1.2.4.2  snj .TP
    105  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-l\f[], \f\*[B-Font]\-\-listpeers\f[]
    106  1.1.1.2.4.2  snj Print a list of the peers.
    107  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
    108  1.1.1.2.4.2  snj command.
    109  1.1.1.2.4.2  snj .sp
    110  1.1.1.2.4.2  snj Print a list of the peers known to the server as well as a summary of
    111  1.1.1.2.4.2  snj their state. This is equivalent to the 'listpeers' interactive command.
    112  1.1.1.2.4.2  snj .TP
    113  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-n\f[], \f\*[B-Font]\-\-numeric\f[]
    114  1.1.1.2.4.2  snj numeric host addresses.
    115  1.1.1.2.4.2  snj .sp
    116  1.1.1.2.4.2  snj Output all host addresses in dotted-quad numeric format rather than
    117  1.1.1.2.4.2  snj converting to the canonical host names. 
    118  1.1.1.2.4.2  snj .TP
    119  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-p\f[], \f\*[B-Font]\-\-peers\f[]
    120  1.1.1.2.4.2  snj Print a list of the peers.
    121  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
    122  1.1.1.2.4.2  snj command.
    123  1.1.1.2.4.2  snj .sp
    124  1.1.1.2.4.2  snj Print a list of the peers known to the server as well as a summary
    125  1.1.1.2.4.2  snj of their state. This is equivalent to the 'peers' interactive command.
    126  1.1.1.2.4.2  snj .TP
    127  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-s\f[], \f\*[B-Font]\-\-showpeers\f[]
    128  1.1.1.2.4.2  snj Show a list of the peers.
    129  1.1.1.2.4.2  snj This option must not appear in combination with any of the following options:
    130  1.1.1.2.4.2  snj command.
    131  1.1.1.2.4.2  snj .sp
    132  1.1.1.2.4.2  snj Print a list of the peers known to the server as well as a summary
    133  1.1.1.2.4.2  snj of their state. This is equivalent to the 'dmpeers' interactive command.
    134  1.1.1.2.4.2  snj .TP
    135  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
    136  1.1.1.2.4.2  snj Display usage information and exit.
    137  1.1.1.2.4.2  snj .TP
    138  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
    139  1.1.1.2.4.2  snj Pass the extended usage information through a pager.
    140  1.1.1.2.4.2  snj .TP
    141  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\->\f[] [\f\*[I-Font]cfgfile\f[]], \f\*[B-Font]\-\-save-opts\f[] [=\f\*[I-Font]cfgfile\f[]]
    142  1.1.1.2.4.2  snj Save the option state to \fIcfgfile\fP.  The default is the \fIlast\fP
    143  1.1.1.2.4.2  snj configuration file listed in the \fBOPTION PRESETS\fP section, below.
    144  1.1.1.2.4.2  snj The command will exit after updating the config file.
    145  1.1.1.2.4.2  snj .TP
    146  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-<\f[] \f\*[I-Font]cfgfile\f[], \f\*[B-Font]\-\-load-opts\f[]=\f\*[I-Font]cfgfile\f[], \f\*[B-Font]\-\-no-load-opts\f[]
    147  1.1.1.2.4.2  snj Load options from \fIcfgfile\fP.
    148  1.1.1.2.4.2  snj The \fIno-load-opts\fP form will disable the loading
    149  1.1.1.2.4.2  snj of earlier config/rc/ini files.  \fI\-\-no-load-opts\fP is handled early,
    150  1.1.1.2.4.2  snj out of order.
    151  1.1.1.2.4.2  snj .TP
    152  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]
    153  1.1.1.2.4.2  snj Output version of program and exit.  The default mode is `v', a simple
    154  1.1.1.2.4.2  snj version.  The `c' mode will print copyright information and `n' will
    155  1.1.1.2.4.2  snj print the full copyright notice.
    156  1.1.1.2.4.2  snj .PP
    157  1.1.1.2.4.2  snj .SH "OPTION PRESETS"
    158  1.1.1.2.4.2  snj Any option that is not marked as \fInot presettable\fP may be preset
    159  1.1.1.2.4.2  snj by loading values from configuration ("RC" or ".INI") file(s) and values from
    160  1.1.1.2.4.2  snj environment variables named:
    161  1.1.1.2.4.2  snj .nf
    162  1.1.1.2.4.2  snj   \fBNTPDC_<option-name>\fP or \fBNTPDC\fP
    163  1.1.1.2.4.2  snj .fi
    164  1.1.1.2.4.2  snj .ad
    165  1.1.1.2.4.2  snj The environmental presets take precedence (are processed later than)
    166  1.1.1.2.4.2  snj the configuration files.
    167  1.1.1.2.4.2  snj The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
    168  1.1.1.2.4.2  snj If any of these are directories, then the file \fI.ntprc\fP
    169  1.1.1.2.4.2  snj is searched for within those directories.
    170  1.1.1.2.4.2  snj .SH USAGE
    171  1.1.1.2.4.2  snj If one or more request options are included on the command line
    172  1.1.1.2.4.2  snj when
    173  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    174  1.1.1.2.4.2  snj is executed, each of the requests will be sent
    175  1.1.1.2.4.2  snj to the NTP servers running on each of the hosts given as command
    176  1.1.1.2.4.2  snj line arguments, or on localhost by default.
    177  1.1.1.2.4.2  snj If no request options
    178  1.1.1.2.4.2  snj are given,
    179  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    180  1.1.1.2.4.2  snj will attempt to read commands from the
    181  1.1.1.2.4.2  snj standard input and execute these on the NTP server running on the
    182  1.1.1.2.4.2  snj first host given on the command line, again defaulting to localhost
    183  1.1.1.2.4.2  snj when no other host is specified.
    184  1.1.1.2.4.2  snj The
    185  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    186  1.1.1.2.4.2  snj utility will prompt for
    187  1.1.1.2.4.2  snj commands if the standard input is a terminal device.
    188  1.1.1.2.4.2  snj .sp \n(Ppu
    189  1.1.1.2.4.2  snj .ne 2
    190  1.1.1.2.4.2  snj 
    191  1.1.1.2.4.2  snj The
    192  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    193  1.1.1.2.4.2  snj utility uses NTP mode 7 packets to communicate with the
    194  1.1.1.2.4.2  snj NTP server, and hence can be used to query any compatible server on
    195  1.1.1.2.4.2  snj the network which permits it.
    196  1.1.1.2.4.2  snj Note that since NTP is a UDP protocol
    197  1.1.1.2.4.2  snj this communication will be somewhat unreliable, especially over
    198  1.1.1.2.4.2  snj large distances in terms of network topology.
    199  1.1.1.2.4.2  snj The
    200  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    201  1.1.1.2.4.2  snj utility makes
    202  1.1.1.2.4.2  snj no attempt to retransmit requests, and will time requests out if
    203  1.1.1.2.4.2  snj the remote host is not heard from within a suitable timeout
    204  1.1.1.2.4.2  snj time.
    205  1.1.1.2.4.2  snj .sp \n(Ppu
    206  1.1.1.2.4.2  snj .ne 2
    207  1.1.1.2.4.2  snj 
    208  1.1.1.2.4.2  snj The operation of
    209  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    210  1.1.1.2.4.2  snj are specific to the particular
    211  1.1.1.2.4.2  snj implementation of the
    212  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[]
    213  1.1.1.2.4.2  snj daemon and can be expected to
    214  1.1.1.2.4.2  snj work only with this and maybe some previous versions of the daemon.
    215  1.1.1.2.4.2  snj Requests from a remote
    216  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    217  1.1.1.2.4.2  snj utility which affect the
    218  1.1.1.2.4.2  snj state of the local server must be authenticated, which requires
    219  1.1.1.2.4.2  snj both the remote program and local server share a common key and key
    220  1.1.1.2.4.2  snj identifier.
    221  1.1.1.2.4.2  snj .sp \n(Ppu
    222  1.1.1.2.4.2  snj .ne 2
    223  1.1.1.2.4.2  snj 
    224  1.1.1.2.4.2  snj Note that in contexts where a host name is expected, a
    225  1.1.1.2.4.2  snj \f\*[B-Font]\-4\f[]
    226  1.1.1.2.4.2  snj qualifier preceding the host name forces DNS resolution to the IPv4 namespace,
    227  1.1.1.2.4.2  snj while a
    228  1.1.1.2.4.2  snj \f\*[B-Font]\-6\f[]
    229  1.1.1.2.4.2  snj qualifier forces DNS resolution to the IPv6 namespace.
    230  1.1.1.2.4.2  snj Specifying a command line option other than
    231  1.1.1.2.4.2  snj \f\*[B-Font]\-i\f[]
    232  1.1.1.2.4.2  snj or
    233  1.1.1.2.4.2  snj \f\*[B-Font]\-n\f[]
    234  1.1.1.2.4.2  snj will cause the specified query (queries) to be sent to
    235  1.1.1.2.4.2  snj the indicated host(s) immediately.
    236  1.1.1.2.4.2  snj Otherwise,
    237  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    238  1.1.1.2.4.2  snj will
    239  1.1.1.2.4.2  snj attempt to read interactive format commands from the standard
    240  1.1.1.2.4.2  snj input.
    241  1.1.1.2.4.2  snj .SS "Interactive Commands"
    242  1.1.1.2.4.2  snj Interactive format commands consist of a keyword followed by zero
    243  1.1.1.2.4.2  snj to four arguments.
    244  1.1.1.2.4.2  snj Only enough characters of the full keyword to
    245  1.1.1.2.4.2  snj uniquely identify the command need be typed.
    246  1.1.1.2.4.2  snj The output of a
    247  1.1.1.2.4.2  snj command is normally sent to the standard output, but optionally the
    248  1.1.1.2.4.2  snj output of individual commands may be sent to a file by appending a
    249  1.1.1.2.4.2  snj \[oq]\&>\[cq],
    250  1.1.1.2.4.2  snj followed by a file name, to the command line.
    251  1.1.1.2.4.2  snj .sp \n(Ppu
    252  1.1.1.2.4.2  snj .ne 2
    253  1.1.1.2.4.2  snj 
    254  1.1.1.2.4.2  snj A number of interactive format commands are executed entirely
    255  1.1.1.2.4.2  snj within the
    256  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    257  1.1.1.2.4.2  snj utility itself and do not result in NTP
    258  1.1.1.2.4.2  snj mode 7 requests being sent to a server.
    259  1.1.1.2.4.2  snj These are described
    260  1.1.1.2.4.2  snj following.
    261  1.1.1.2.4.2  snj .TP 7
    262  1.1.1.2.4.2  snj .NOP \f\*[B-Font]\&?\f[] \f\*[I-Font]command_keyword\f[]
    263  1.1.1.2.4.2  snj .TP 7
    264  1.1.1.2.4.2  snj .NOP \f\*[B-Font]help\f[] \f\*[I-Font]command_keyword\f[]
    265  1.1.1.2.4.2  snj A
    266  1.1.1.2.4.2  snj \[oq]\f\*[B-Font]\&?\f[]\[cq]
    267  1.1.1.2.4.2  snj will print a list of all the command
    268  1.1.1.2.4.2  snj keywords known to this incarnation of
    269  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP.
    270  1.1.1.2.4.2  snj A
    271  1.1.1.2.4.2  snj \[oq]\f\*[B-Font]\&?\f[]\[cq]
    272  1.1.1.2.4.2  snj followed by a command keyword will print function and usage
    273  1.1.1.2.4.2  snj information about the command.
    274  1.1.1.2.4.2  snj This command is probably a better
    275  1.1.1.2.4.2  snj source of information about
    276  1.1.1.2.4.3  snj \fCntpq\f[]\fR(1ntpqmdoc)\f[]
    277  1.1.1.2.4.2  snj than this manual
    278  1.1.1.2.4.2  snj page.
    279  1.1.1.2.4.2  snj .TP 7
    280  1.1.1.2.4.2  snj .NOP \f\*[B-Font]delay\f[] \f\*[I-Font]milliseconds\f[]
    281  1.1.1.2.4.2  snj Specify a time interval to be added to timestamps included in
    282  1.1.1.2.4.2  snj requests which require authentication.
    283  1.1.1.2.4.2  snj This is used to enable
    284  1.1.1.2.4.2  snj (unreliable) server reconfiguration over long delay network paths
    285  1.1.1.2.4.2  snj or between machines whose clocks are unsynchronized.
    286  1.1.1.2.4.2  snj Actually the
    287  1.1.1.2.4.2  snj server does not now require timestamps in authenticated requests,
    288  1.1.1.2.4.2  snj so this command may be obsolete.
    289  1.1.1.2.4.2  snj .TP 7
    290  1.1.1.2.4.2  snj .NOP \f\*[B-Font]host\f[] \f\*[I-Font]hostname\f[]
    291  1.1.1.2.4.2  snj Set the host to which future queries will be sent.
    292  1.1.1.2.4.2  snj Hostname may
    293  1.1.1.2.4.2  snj be either a host name or a numeric address.
    294  1.1.1.2.4.2  snj .TP 7
    295  1.1.1.2.4.2  snj .NOP \f\*[B-Font]hostnames\f[] [\f\*[B-Font]yes\f[] | \f\*[B-Font]no\f[]]
    296  1.1.1.2.4.2  snj If
    297  1.1.1.2.4.2  snj \f\*[B-Font]yes\f[]
    298  1.1.1.2.4.2  snj is specified, host names are printed in
    299  1.1.1.2.4.2  snj information displays.
    300  1.1.1.2.4.2  snj If
    301  1.1.1.2.4.2  snj \f\*[B-Font]no\f[]
    302  1.1.1.2.4.2  snj is specified, numeric
    303  1.1.1.2.4.2  snj addresses are printed instead.
    304  1.1.1.2.4.2  snj The default is
    305  1.1.1.2.4.2  snj \f\*[B-Font]yes\f[],
    306  1.1.1.2.4.2  snj unless
    307  1.1.1.2.4.2  snj modified using the command line
    308  1.1.1.2.4.2  snj \f\*[B-Font]\-n\f[]
    309  1.1.1.2.4.2  snj switch.
    310  1.1.1.2.4.2  snj .TP 7
    311  1.1.1.2.4.2  snj .NOP \f\*[B-Font]keyid\f[] \f\*[I-Font]keyid\f[]
    312  1.1.1.2.4.2  snj This command allows the specification of a key number to be
    313  1.1.1.2.4.2  snj used to authenticate configuration requests.
    314  1.1.1.2.4.2  snj This must correspond
    315  1.1.1.2.4.2  snj to a key number the server has been configured to use for this
    316  1.1.1.2.4.2  snj purpose.
    317  1.1.1.2.4.2  snj .TP 7
    318  1.1.1.2.4.2  snj .NOP \f\*[B-Font]quit\f[]
    319  1.1.1.2.4.2  snj Exit
    320  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP.
    321  1.1.1.2.4.2  snj .TP 7
    322  1.1.1.2.4.2  snj .NOP \f\*[B-Font]passwd\f[]
    323  1.1.1.2.4.2  snj This command prompts you to type in a password (which will not
    324  1.1.1.2.4.2  snj be echoed) which will be used to authenticate configuration
    325  1.1.1.2.4.2  snj requests.
    326  1.1.1.2.4.2  snj The password must correspond to the key configured for
    327  1.1.1.2.4.2  snj use by the NTP server for this purpose if such requests are to be
    328  1.1.1.2.4.2  snj successful.
    329  1.1.1.2.4.2  snj .TP 7
    330  1.1.1.2.4.2  snj .NOP \f\*[B-Font]timeout\f[] \f\*[I-Font]milliseconds\f[]
    331  1.1.1.2.4.2  snj Specify a timeout period for responses to server queries.
    332  1.1.1.2.4.2  snj The
    333  1.1.1.2.4.2  snj default is about 8000 milliseconds.
    334  1.1.1.2.4.2  snj Note that since
    335  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    336  1.1.1.2.4.2  snj retries each query once after a timeout, the total waiting time for
    337  1.1.1.2.4.2  snj a timeout will be twice the timeout value set.
    338  1.1.1.2.4.2  snj .PP
    339  1.1.1.2.4.2  snj .SS "Control Message Commands"
    340  1.1.1.2.4.2  snj Query commands result in NTP mode 7 packets containing requests for
    341  1.1.1.2.4.2  snj information being sent to the server.
    342  1.1.1.2.4.2  snj These are read-only commands
    343  1.1.1.2.4.2  snj in that they make no modification of the server configuration
    344  1.1.1.2.4.2  snj state.
    345  1.1.1.2.4.2  snj .TP 7
    346  1.1.1.2.4.2  snj .NOP \f\*[B-Font]listpeers\f[]
    347  1.1.1.2.4.2  snj Obtains and prints a brief list of the peers for which the
    348  1.1.1.2.4.2  snj server is maintaining state.
    349  1.1.1.2.4.2  snj These should include all configured
    350  1.1.1.2.4.2  snj peer associations as well as those peers whose stratum is such that
    351  1.1.1.2.4.2  snj they are considered by the server to be possible future
    352  1.1.1.2.4.2  snj synchronization candidates.
    353  1.1.1.2.4.2  snj .TP 7
    354  1.1.1.2.4.2  snj .NOP \f\*[B-Font]peers\f[]
    355  1.1.1.2.4.2  snj Obtains a list of peers for which the server is maintaining
    356  1.1.1.2.4.2  snj state, along with a summary of that state.
    357  1.1.1.2.4.2  snj Summary information
    358  1.1.1.2.4.2  snj includes the address of the remote peer, the local interface
    359  1.1.1.2.4.2  snj address (0.0.0.0 if a local address has yet to be determined), the
    360  1.1.1.2.4.2  snj stratum of the remote peer (a stratum of 16 indicates the remote
    361  1.1.1.2.4.2  snj peer is unsynchronized), the polling interval, in seconds, the
    362  1.1.1.2.4.2  snj reachability register, in octal, and the current estimated delay,
    363  1.1.1.2.4.2  snj offset and dispersion of the peer, all in seconds.
    364  1.1.1.2.4.2  snj .sp \n(Ppu
    365  1.1.1.2.4.2  snj .ne 2
    366  1.1.1.2.4.2  snj 
    367  1.1.1.2.4.2  snj The character in the left margin indicates the mode this peer
    368  1.1.1.2.4.2  snj entry is operating in.
    369  1.1.1.2.4.2  snj A
    370  1.1.1.2.4.2  snj \[oq]\&+\[cq]
    371  1.1.1.2.4.2  snj denotes symmetric active, a
    372  1.1.1.2.4.2  snj \[oq]\&-\[cq]
    373  1.1.1.2.4.2  snj indicates symmetric passive, a
    374  1.1.1.2.4.2  snj \[oq]\&=\[cq]
    375  1.1.1.2.4.2  snj means the
    376  1.1.1.2.4.2  snj remote server is being polled in client mode, a
    377  1.1.1.2.4.2  snj \[oq]\&^\[cq]
    378  1.1.1.2.4.2  snj indicates that the server is broadcasting to this address, a
    379  1.1.1.2.4.2  snj \[oq]\&~\[cq]
    380  1.1.1.2.4.2  snj denotes that the remote peer is sending broadcasts and a
    381  1.1.1.2.4.2  snj \[oq]\&~\[cq]
    382  1.1.1.2.4.2  snj denotes that the remote peer is sending broadcasts and a
    383  1.1.1.2.4.2  snj \[oq]\&*\[cq]
    384  1.1.1.2.4.2  snj marks the peer the server is currently synchronizing
    385  1.1.1.2.4.2  snj to.
    386  1.1.1.2.4.2  snj .sp \n(Ppu
    387  1.1.1.2.4.2  snj .ne 2
    388  1.1.1.2.4.2  snj 
    389  1.1.1.2.4.2  snj The contents of the host field may be one of four forms.
    390  1.1.1.2.4.2  snj It may
    391  1.1.1.2.4.2  snj be a host name, an IP address, a reference clock implementation
    392  1.1.1.2.4.2  snj name with its parameter or
    393  1.1.1.2.4.3  snj \fBREFCLK\f[]\fR()\f[]
    394  1.1.1.2.4.2  snj On
    395  1.1.1.2.4.2  snj \f\*[B-Font]hostnames\f[]
    396  1.1.1.2.4.2  snj \f\*[B-Font]no\f[]
    397  1.1.1.2.4.2  snj only IP-addresses
    398  1.1.1.2.4.2  snj will be displayed.
    399  1.1.1.2.4.2  snj .TP 7
    400  1.1.1.2.4.2  snj .NOP \f\*[B-Font]dmpeers\f[]
    401  1.1.1.2.4.2  snj A slightly different peer summary list.
    402  1.1.1.2.4.2  snj Identical to the output
    403  1.1.1.2.4.2  snj of the
    404  1.1.1.2.4.2  snj \f\*[B-Font]peers\f[]
    405  1.1.1.2.4.2  snj command, except for the character in the
    406  1.1.1.2.4.2  snj leftmost column.
    407  1.1.1.2.4.2  snj Characters only appear beside peers which were
    408  1.1.1.2.4.2  snj included in the final stage of the clock selection algorithm.
    409  1.1.1.2.4.2  snj A
    410  1.1.1.2.4.2  snj \[oq]\&.\[cq]
    411  1.1.1.2.4.2  snj indicates that this peer was cast off in the falseticker
    412  1.1.1.2.4.2  snj detection, while a
    413  1.1.1.2.4.2  snj \[oq]\&+\[cq]
    414  1.1.1.2.4.2  snj indicates that the peer made it
    415  1.1.1.2.4.2  snj through.
    416  1.1.1.2.4.2  snj A
    417  1.1.1.2.4.2  snj \[oq]\&*\[cq]
    418  1.1.1.2.4.2  snj denotes the peer the server is currently
    419  1.1.1.2.4.2  snj synchronizing with.
    420  1.1.1.2.4.2  snj .TP 7
    421  1.1.1.2.4.2  snj .NOP \f\*[B-Font]showpeer\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]...\f[]]
    422  1.1.1.2.4.2  snj Shows a detailed display of the current peer variables for one
    423  1.1.1.2.4.2  snj or more peers.
    424  1.1.1.2.4.2  snj Most of these values are described in the NTP
    425  1.1.1.2.4.2  snj Version 2 specification.
    426  1.1.1.2.4.2  snj .TP 7
    427  1.1.1.2.4.2  snj .NOP \f\*[B-Font]pstats\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]...\f[]]
    428  1.1.1.2.4.2  snj Show per-peer statistic counters associated with the specified
    429  1.1.1.2.4.2  snj peer(s).
    430  1.1.1.2.4.2  snj .TP 7
    431  1.1.1.2.4.2  snj .NOP \f\*[B-Font]clockstat\f[] \f\*[I-Font]clock_peer_address\f[] [\f\*[I-Font]...\f[]]
    432  1.1.1.2.4.2  snj Obtain and print information concerning a peer clock.
    433  1.1.1.2.4.2  snj The
    434  1.1.1.2.4.2  snj values obtained provide information on the setting of fudge factors
    435  1.1.1.2.4.2  snj and other clock performance information.
    436  1.1.1.2.4.2  snj .TP 7
    437  1.1.1.2.4.2  snj .NOP \f\*[B-Font]kerninfo\f[]
    438  1.1.1.2.4.2  snj Obtain and print kernel phase-lock loop operating parameters.
    439  1.1.1.2.4.2  snj This information is available only if the kernel has been specially
    440  1.1.1.2.4.2  snj modified for a precision timekeeping function.
    441  1.1.1.2.4.2  snj .TP 7
    442  1.1.1.2.4.2  snj .NOP \f\*[B-Font]loopinfo\f[] [\f\*[B-Font]oneline\f[] | \f\*[B-Font]multiline\f[]]
    443  1.1.1.2.4.2  snj Print the values of selected loop filter variables.
    444  1.1.1.2.4.2  snj The loop
    445  1.1.1.2.4.2  snj filter is the part of NTP which deals with adjusting the local
    446  1.1.1.2.4.2  snj system clock.
    447  1.1.1.2.4.2  snj The
    448  1.1.1.2.4.2  snj \[oq]offset\[cq]
    449  1.1.1.2.4.2  snj is the last offset given to the
    450  1.1.1.2.4.2  snj loop filter by the packet processing code.
    451  1.1.1.2.4.2  snj The
    452  1.1.1.2.4.2  snj \[oq]frequency\[cq]
    453  1.1.1.2.4.2  snj is the frequency error of the local clock in parts-per-million
    454  1.1.1.2.4.2  snj (ppm).
    455  1.1.1.2.4.2  snj The
    456  1.1.1.2.4.2  snj \[oq]time_const\[cq]
    457  1.1.1.2.4.2  snj controls the stiffness of the
    458  1.1.1.2.4.2  snj phase-lock loop and thus the speed at which it can adapt to
    459  1.1.1.2.4.2  snj oscillator drift.
    460  1.1.1.2.4.2  snj The
    461  1.1.1.2.4.2  snj \[oq]watchdog timer\[cq]
    462  1.1.1.2.4.2  snj value is the number
    463  1.1.1.2.4.2  snj of seconds which have elapsed since the last sample offset was
    464  1.1.1.2.4.2  snj given to the loop filter.
    465  1.1.1.2.4.2  snj The
    466  1.1.1.2.4.2  snj \f\*[B-Font]oneline\f[]
    467  1.1.1.2.4.2  snj and
    468  1.1.1.2.4.2  snj \f\*[B-Font]multiline\f[]
    469  1.1.1.2.4.2  snj options specify the format in which this
    470  1.1.1.2.4.2  snj information is to be printed, with
    471  1.1.1.2.4.2  snj \f\*[B-Font]multiline\f[]
    472  1.1.1.2.4.2  snj as the
    473  1.1.1.2.4.2  snj default.
    474  1.1.1.2.4.2  snj .TP 7
    475  1.1.1.2.4.2  snj .NOP \f\*[B-Font]sysinfo\f[]
    476  1.1.1.2.4.2  snj Print a variety of system state variables, i.e., state related
    477  1.1.1.2.4.2  snj to the local server.
    478  1.1.1.2.4.2  snj All except the last four lines are described
    479  1.1.1.2.4.2  snj in the NTP Version 3 specification, RFC-1305.
    480  1.1.1.2.4.2  snj .sp \n(Ppu
    481  1.1.1.2.4.2  snj .ne 2
    482  1.1.1.2.4.2  snj 
    483  1.1.1.2.4.2  snj The
    484  1.1.1.2.4.2  snj \[oq]system flags\[cq]
    485  1.1.1.2.4.2  snj show various system flags, some of
    486  1.1.1.2.4.2  snj which can be set and cleared by the
    487  1.1.1.2.4.2  snj \f\*[B-Font]enable\f[]
    488  1.1.1.2.4.2  snj and
    489  1.1.1.2.4.2  snj \f\*[B-Font]disable\f[]
    490  1.1.1.2.4.2  snj configuration commands, respectively.
    491  1.1.1.2.4.2  snj These are
    492  1.1.1.2.4.2  snj the
    493  1.1.1.2.4.2  snj \f\*[B-Font]auth\f[],
    494  1.1.1.2.4.2  snj \f\*[B-Font]bclient\f[],
    495  1.1.1.2.4.2  snj \f\*[B-Font]monitor\f[],
    496  1.1.1.2.4.2  snj \f\*[B-Font]pll\f[],
    497  1.1.1.2.4.2  snj \f\*[B-Font]pps\f[]
    498  1.1.1.2.4.2  snj and
    499  1.1.1.2.4.2  snj \f\*[B-Font]stats\f[]
    500  1.1.1.2.4.2  snj flags.
    501  1.1.1.2.4.2  snj See the
    502  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[]
    503  1.1.1.2.4.2  snj documentation for the meaning of these flags.
    504  1.1.1.2.4.2  snj There
    505  1.1.1.2.4.2  snj are two additional flags which are read only, the
    506  1.1.1.2.4.2  snj \f\*[B-Font]kernel_pll\f[]
    507  1.1.1.2.4.2  snj and
    508  1.1.1.2.4.2  snj \f\*[B-Font]kernel_pps\f[].
    509  1.1.1.2.4.2  snj These flags indicate
    510  1.1.1.2.4.2  snj the synchronization status when the precision time kernel
    511  1.1.1.2.4.2  snj modifications are in use.
    512  1.1.1.2.4.2  snj The
    513  1.1.1.2.4.2  snj \[oq]kernel_pll\[cq]
    514  1.1.1.2.4.2  snj indicates that
    515  1.1.1.2.4.2  snj the local clock is being disciplined by the kernel, while the
    516  1.1.1.2.4.2  snj \[oq]kernel_pps\[cq]
    517  1.1.1.2.4.2  snj indicates the kernel discipline is provided by the PPS
    518  1.1.1.2.4.2  snj signal.
    519  1.1.1.2.4.2  snj .sp \n(Ppu
    520  1.1.1.2.4.2  snj .ne 2
    521  1.1.1.2.4.2  snj 
    522  1.1.1.2.4.2  snj The
    523  1.1.1.2.4.2  snj \[oq]stability\[cq]
    524  1.1.1.2.4.2  snj is the residual frequency error remaining
    525  1.1.1.2.4.2  snj after the system frequency correction is applied and is intended for
    526  1.1.1.2.4.2  snj maintenance and debugging.
    527  1.1.1.2.4.2  snj In most architectures, this value will
    528  1.1.1.2.4.2  snj initially decrease from as high as 500 ppm to a nominal value in
    529  1.1.1.2.4.2  snj the range .01 to 0.1 ppm.
    530  1.1.1.2.4.2  snj If it remains high for some time after
    531  1.1.1.2.4.2  snj starting the daemon, something may be wrong with the local clock,
    532  1.1.1.2.4.2  snj or the value of the kernel variable
    533  1.1.1.2.4.2  snj \fIkern.clockrate.tick\f[]
    534  1.1.1.2.4.2  snj may be
    535  1.1.1.2.4.2  snj incorrect.
    536  1.1.1.2.4.2  snj .sp \n(Ppu
    537  1.1.1.2.4.2  snj .ne 2
    538  1.1.1.2.4.2  snj 
    539  1.1.1.2.4.2  snj The
    540  1.1.1.2.4.2  snj \[oq]broadcastdelay\[cq]
    541  1.1.1.2.4.2  snj shows the default broadcast delay,
    542  1.1.1.2.4.2  snj as set by the
    543  1.1.1.2.4.2  snj \f\*[B-Font]broadcastdelay\f[]
    544  1.1.1.2.4.2  snj configuration command.
    545  1.1.1.2.4.2  snj .sp \n(Ppu
    546  1.1.1.2.4.2  snj .ne 2
    547  1.1.1.2.4.2  snj 
    548  1.1.1.2.4.2  snj The
    549  1.1.1.2.4.2  snj \[oq]authdelay\[cq]
    550  1.1.1.2.4.2  snj shows the default authentication delay,
    551  1.1.1.2.4.2  snj as set by the
    552  1.1.1.2.4.2  snj \f\*[B-Font]authdelay\f[]
    553  1.1.1.2.4.2  snj configuration command.
    554  1.1.1.2.4.2  snj .TP 7
    555  1.1.1.2.4.2  snj .NOP \f\*[B-Font]sysstats\f[]
    556  1.1.1.2.4.2  snj Print statistics counters maintained in the protocol
    557  1.1.1.2.4.2  snj module.
    558  1.1.1.2.4.2  snj .TP 7
    559  1.1.1.2.4.2  snj .NOP \f\*[B-Font]memstats\f[]
    560  1.1.1.2.4.2  snj Print statistics counters related to memory allocation
    561  1.1.1.2.4.2  snj code.
    562  1.1.1.2.4.2  snj .TP 7
    563  1.1.1.2.4.2  snj .NOP \f\*[B-Font]iostats\f[]
    564  1.1.1.2.4.2  snj Print statistics counters maintained in the input-output
    565  1.1.1.2.4.2  snj module.
    566  1.1.1.2.4.2  snj .TP 7
    567  1.1.1.2.4.2  snj .NOP \f\*[B-Font]timerstats\f[]
    568  1.1.1.2.4.2  snj Print statistics counters maintained in the timer/event queue
    569  1.1.1.2.4.2  snj support code.
    570  1.1.1.2.4.2  snj .TP 7
    571  1.1.1.2.4.2  snj .NOP \f\*[B-Font]reslist\f[]
    572  1.1.1.2.4.2  snj Obtain and print the server's restriction list.
    573  1.1.1.2.4.2  snj This list is
    574  1.1.1.2.4.2  snj (usually) printed in sorted order and may help to understand how
    575  1.1.1.2.4.2  snj the restrictions are applied.
    576  1.1.1.2.4.2  snj .TP 7
    577  1.1.1.2.4.2  snj .NOP \f\*[B-Font]monlist\f[] [\f\*[I-Font]version\f[]]
    578  1.1.1.2.4.2  snj Obtain and print traffic counts collected and maintained by the
    579  1.1.1.2.4.2  snj monitor facility.
    580  1.1.1.2.4.2  snj The version number should not normally need to be
    581  1.1.1.2.4.2  snj specified.
    582  1.1.1.2.4.2  snj .TP 7
    583  1.1.1.2.4.2  snj .NOP \f\*[B-Font]clkbug\f[] \f\*[I-Font]clock_peer_address\f[] [\f\*[I-Font]...\f[]]
    584  1.1.1.2.4.2  snj Obtain debugging information for a reference clock driver.
    585  1.1.1.2.4.2  snj This
    586  1.1.1.2.4.2  snj information is provided only by some clock drivers and is mostly
    587  1.1.1.2.4.2  snj undecodable without a copy of the driver source in hand.
    588  1.1.1.2.4.2  snj .PP
    589  1.1.1.2.4.2  snj .SS "Runtime Configuration Requests"
    590  1.1.1.2.4.2  snj All requests which cause state changes in the server are
    591  1.1.1.2.4.2  snj authenticated by the server using a configured NTP key (the
    592  1.1.1.2.4.2  snj facility can also be disabled by the server by not configuring a
    593  1.1.1.2.4.2  snj key).
    594  1.1.1.2.4.2  snj The key number and the corresponding key must also be made
    595  1.1.1.2.4.2  snj known to
    596  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP.
    597  1.1.1.2.4.2  snj This can be done using the
    598  1.1.1.2.4.2  snj \f\*[B-Font]keyid\f[]
    599  1.1.1.2.4.2  snj and
    600  1.1.1.2.4.2  snj \f\*[B-Font]passwd\f[]
    601  1.1.1.2.4.2  snj commands, the latter of which will prompt at the terminal for a
    602  1.1.1.2.4.2  snj password to use as the encryption key.
    603  1.1.1.2.4.2  snj You will also be prompted
    604  1.1.1.2.4.2  snj automatically for both the key number and password the first time a
    605  1.1.1.2.4.2  snj command which would result in an authenticated request to the
    606  1.1.1.2.4.2  snj server is given.
    607  1.1.1.2.4.2  snj Authentication not only provides verification that
    608  1.1.1.2.4.2  snj the requester has permission to make such changes, but also gives
    609  1.1.1.2.4.2  snj an extra degree of protection again transmission errors.
    610  1.1.1.2.4.2  snj .sp \n(Ppu
    611  1.1.1.2.4.2  snj .ne 2
    612  1.1.1.2.4.2  snj 
    613  1.1.1.2.4.2  snj Authenticated requests always include a timestamp in the packet
    614  1.1.1.2.4.2  snj data, which is included in the computation of the authentication
    615  1.1.1.2.4.2  snj code.
    616  1.1.1.2.4.2  snj This timestamp is compared by the server to its receive time
    617  1.1.1.2.4.2  snj stamp.
    618  1.1.1.2.4.2  snj If they differ by more than a small amount the request is
    619  1.1.1.2.4.2  snj rejected.
    620  1.1.1.2.4.2  snj This is done for two reasons.
    621  1.1.1.2.4.2  snj First, it makes simple
    622  1.1.1.2.4.2  snj replay attacks on the server, by someone who might be able to
    623  1.1.1.2.4.2  snj overhear traffic on your LAN, much more difficult.
    624  1.1.1.2.4.2  snj Second, it makes
    625  1.1.1.2.4.2  snj it more difficult to request configuration changes to your server
    626  1.1.1.2.4.2  snj from topologically remote hosts.
    627  1.1.1.2.4.2  snj While the reconfiguration facility
    628  1.1.1.2.4.2  snj will work well with a server on the local host, and may work
    629  1.1.1.2.4.2  snj adequately between time-synchronized hosts on the same LAN, it will
    630  1.1.1.2.4.2  snj work very poorly for more distant hosts.
    631  1.1.1.2.4.2  snj As such, if reasonable
    632  1.1.1.2.4.2  snj passwords are chosen, care is taken in the distribution and
    633  1.1.1.2.4.2  snj protection of keys and appropriate source address restrictions are
    634  1.1.1.2.4.2  snj applied, the run time reconfiguration facility should provide an
    635  1.1.1.2.4.2  snj adequate level of security.
    636  1.1.1.2.4.2  snj .sp \n(Ppu
    637  1.1.1.2.4.2  snj .ne 2
    638  1.1.1.2.4.2  snj 
    639  1.1.1.2.4.2  snj The following commands all make authenticated requests.
    640  1.1.1.2.4.2  snj .TP 7
    641  1.1.1.2.4.2  snj .NOP \f\*[B-Font]addpeer\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]keyid\f[]] [\f\*[I-Font]version\f[]] [\f\*[B-Font]prefer\f[]]
    642  1.1.1.2.4.2  snj Add a configured peer association at the given address and
    643  1.1.1.2.4.2  snj operating in symmetric active mode.
    644  1.1.1.2.4.2  snj Note that an existing
    645  1.1.1.2.4.2  snj association with the same peer may be deleted when this command is
    646  1.1.1.2.4.2  snj executed, or may simply be converted to conform to the new
    647  1.1.1.2.4.2  snj configuration, as appropriate.
    648  1.1.1.2.4.2  snj If the optional
    649  1.1.1.2.4.2  snj \f\*[I-Font]keyid\f[]
    650  1.1.1.2.4.2  snj is a
    651  1.1.1.2.4.2  snj nonzero integer, all outgoing packets to the remote server will
    652  1.1.1.2.4.2  snj have an authentication field attached encrypted with this key.
    653  1.1.1.2.4.2  snj If
    654  1.1.1.2.4.2  snj the value is 0 (or not given) no authentication will be done.
    655  1.1.1.2.4.2  snj The
    656  1.1.1.2.4.2  snj \f\*[I-Font]version\f[]
    657  1.1.1.2.4.2  snj can be 1, 2 or 3 and defaults to 3.
    658  1.1.1.2.4.2  snj The
    659  1.1.1.2.4.2  snj \f\*[B-Font]prefer\f[]
    660  1.1.1.2.4.2  snj keyword indicates a preferred peer (and thus will
    661  1.1.1.2.4.2  snj be used primarily for clock synchronisation if possible).
    662  1.1.1.2.4.2  snj The
    663  1.1.1.2.4.2  snj preferred peer also determines the validity of the PPS signal \- if
    664  1.1.1.2.4.2  snj the preferred peer is suitable for synchronisation so is the PPS
    665  1.1.1.2.4.2  snj signal.
    666  1.1.1.2.4.2  snj .TP 7
    667  1.1.1.2.4.2  snj .NOP \f\*[B-Font]addserver\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]keyid\f[]] [\f\*[I-Font]version\f[]] [\f\*[B-Font]prefer\f[]]
    668  1.1.1.2.4.2  snj Identical to the addpeer command, except that the operating
    669  1.1.1.2.4.2  snj mode is client.
    670  1.1.1.2.4.2  snj .TP 7
    671  1.1.1.2.4.2  snj .NOP \f\*[B-Font]broadcast\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]keyid\f[]] [\f\*[I-Font]version\f[]] [\f\*[B-Font]prefer\f[]]
    672  1.1.1.2.4.2  snj Identical to the addpeer command, except that the operating
    673  1.1.1.2.4.2  snj mode is broadcast.
    674  1.1.1.2.4.2  snj In this case a valid key identifier and key are
    675  1.1.1.2.4.2  snj required.
    676  1.1.1.2.4.2  snj The
    677  1.1.1.2.4.2  snj \f\*[I-Font]peer_address\f[]
    678  1.1.1.2.4.2  snj parameter can be the broadcast
    679  1.1.1.2.4.2  snj address of the local network or a multicast group address assigned
    680  1.1.1.2.4.2  snj to NTP.
    681  1.1.1.2.4.2  snj If a multicast address, a multicast-capable kernel is
    682  1.1.1.2.4.2  snj required.
    683  1.1.1.2.4.2  snj .TP 7
    684  1.1.1.2.4.2  snj .NOP \f\*[B-Font]unconfig\f[] \f\*[I-Font]peer_address\f[] [\f\*[I-Font]...\f[]]
    685  1.1.1.2.4.2  snj This command causes the configured bit to be removed from the
    686  1.1.1.2.4.2  snj specified peer(s).
    687  1.1.1.2.4.2  snj In many cases this will cause the peer
    688  1.1.1.2.4.2  snj association to be deleted.
    689  1.1.1.2.4.2  snj When appropriate, however, the
    690  1.1.1.2.4.2  snj association may persist in an unconfigured mode if the remote peer
    691  1.1.1.2.4.2  snj is willing to continue on in this fashion.
    692  1.1.1.2.4.2  snj .TP 7
    693  1.1.1.2.4.2  snj .NOP \f\*[B-Font]fudge\f[] \f\*[I-Font]peer_address\f[] [\f\*[B-Font]time1\f[]] [\f\*[B-Font]time2\f[]] [\f\*[I-Font]stratum\f[]] [\f\*[I-Font]refid\f[]]
    694  1.1.1.2.4.2  snj This command provides a way to set certain data for a reference
    695  1.1.1.2.4.2  snj clock.
    696  1.1.1.2.4.2  snj See the source listing for further information.
    697  1.1.1.2.4.2  snj .TP 7
    698  1.1.1.2.4.2  snj .NOP \f\*[B-Font]enable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]pps\f[] | \f\*[B-Font]stats\f[]]
    699  1.1.1.2.4.2  snj .TP 7
    700  1.1.1.2.4.2  snj .NOP \f\*[B-Font]disable\f[] [\f\*[B-Font]auth\f[] | \f\*[B-Font]bclient\f[] | \f\*[B-Font]calibrate\f[] | \f\*[B-Font]kernel\f[] | \f\*[B-Font]monitor\f[] | \f\*[B-Font]ntp\f[] | \f\*[B-Font]pps\f[] | \f\*[B-Font]stats\f[]]
    701  1.1.1.2.4.2  snj These commands operate in the same way as the
    702  1.1.1.2.4.2  snj \f\*[B-Font]enable\f[]
    703  1.1.1.2.4.2  snj and
    704  1.1.1.2.4.2  snj \f\*[B-Font]disable\f[]
    705  1.1.1.2.4.2  snj configuration file commands of
    706  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[].
    707  1.1.1.2.4.2  snj .RS
    708  1.1.1.2.4.2  snj .TP 7
    709  1.1.1.2.4.2  snj .NOP \f\*[B-Font]auth\f[]
    710  1.1.1.2.4.2  snj Enables the server to synchronize with unconfigured peers only
    711  1.1.1.2.4.2  snj if the peer has been correctly authenticated using either public key
    712  1.1.1.2.4.2  snj or private key cryptography.
    713  1.1.1.2.4.2  snj The default for this flag is enable.
    714  1.1.1.2.4.2  snj .TP 7
    715  1.1.1.2.4.2  snj .NOP \f\*[B-Font]bclient\f[]
    716  1.1.1.2.4.2  snj Enables the server to listen for a message from a broadcast or
    717  1.1.1.2.4.2  snj multicast server, as in the multicastclient command with
    718  1.1.1.2.4.2  snj default address.
    719  1.1.1.2.4.2  snj The default for this flag is disable.
    720  1.1.1.2.4.2  snj .TP 7
    721  1.1.1.2.4.2  snj .NOP \f\*[B-Font]calibrate\f[]
    722  1.1.1.2.4.2  snj Enables the calibrate feature for reference clocks.
    723  1.1.1.2.4.2  snj The default for this flag is disable.
    724  1.1.1.2.4.2  snj .TP 7
    725  1.1.1.2.4.2  snj .NOP \f\*[B-Font]kernel\f[]
    726  1.1.1.2.4.2  snj Enables the kernel time discipline, if available.
    727  1.1.1.2.4.2  snj The default for this flag is enable if support is available, otherwise disable.
    728  1.1.1.2.4.2  snj .TP 7
    729  1.1.1.2.4.2  snj .NOP \f\*[B-Font]monitor\f[]
    730  1.1.1.2.4.2  snj Enables the monitoring facility.
    731  1.1.1.2.4.2  snj See the documentation here about the
    732  1.1.1.2.4.2  snj \f\*[B-Font]monlist\f[]
    733  1.1.1.2.4.2  snj command or further information.
    734  1.1.1.2.4.2  snj The default for this flag is enable.
    735  1.1.1.2.4.2  snj .TP 7
    736  1.1.1.2.4.2  snj .NOP \f\*[B-Font]ntp\f[]
    737  1.1.1.2.4.2  snj Enables time and frequency discipline.
    738  1.1.1.2.4.2  snj In effect, this switch opens and closes the feedback loop,
    739  1.1.1.2.4.2  snj which is useful for testing.
    740  1.1.1.2.4.2  snj The default for this flag is enable.
    741  1.1.1.2.4.2  snj .TP 7
    742  1.1.1.2.4.2  snj .NOP \f\*[B-Font]pps\f[]
    743  1.1.1.2.4.2  snj Enables the pulse-per-second (PPS) signal when frequency
    744  1.1.1.2.4.2  snj and time is disciplined by the precision time kernel modifications.
    745  1.1.1.2.4.2  snj See the
    746  1.1.1.2.4.2  snj "A Kernel Model for Precision Timekeeping"
    747  1.1.1.2.4.2  snj (available as part of the HTML documentation
    748  1.1.1.2.4.2  snj provided in
    749  1.1.1.2.4.2  snj \fI/usr/share/doc/ntp\f[])
    750  1.1.1.2.4.2  snj page for further information.
    751  1.1.1.2.4.2  snj The default for this flag is disable.
    752  1.1.1.2.4.2  snj .TP 7
    753  1.1.1.2.4.2  snj .NOP \f\*[B-Font]stats\f[]
    754  1.1.1.2.4.2  snj Enables the statistics facility.
    755  1.1.1.2.4.2  snj See the
    756  1.1.1.2.4.2  snj \fIMonitoring\f[] \fIOptions\f[]
    757  1.1.1.2.4.2  snj section of
    758  1.1.1.2.4.3  snj \fCntp.conf\f[]\fR(5)\f[]
    759  1.1.1.2.4.2  snj for further information.
    760  1.1.1.2.4.2  snj The default for this flag is disable.
    761  1.1.1.2.4.2  snj .RE
    762  1.1.1.2.4.2  snj .TP 7
    763  1.1.1.2.4.2  snj .NOP \f\*[B-Font]restrict\f[] \f\*[I-Font]address\f[] \f\*[I-Font]mask\f[] \f\*[I-Font]flag\f[] [\f\*[I-Font]...\f[]]
    764  1.1.1.2.4.2  snj This command operates in the same way as the
    765  1.1.1.2.4.2  snj \f\*[B-Font]restrict\f[]
    766  1.1.1.2.4.2  snj configuration file commands of
    767  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[].
    768  1.1.1.2.4.2  snj .TP 7
    769  1.1.1.2.4.2  snj .NOP \f\*[B-Font]unrestrict\f[] \f\*[I-Font]address\f[] \f\*[I-Font]mask\f[] \f\*[I-Font]flag\f[] [\f\*[I-Font]...\f[]]
    770  1.1.1.2.4.2  snj Unrestrict the matching entry from the restrict list.
    771  1.1.1.2.4.2  snj .TP 7
    772  1.1.1.2.4.2  snj .NOP \f\*[B-Font]delrestrict\f[] \f\*[I-Font]address\f[] \f\*[I-Font]mask\f[] [\f\*[B-Font]ntpport\f[]]
    773  1.1.1.2.4.2  snj Delete the matching entry from the restrict list.
    774  1.1.1.2.4.2  snj .TP 7
    775  1.1.1.2.4.2  snj .NOP \f\*[B-Font]readkeys\f[]
    776  1.1.1.2.4.2  snj Causes the current set of authentication keys to be purged and
    777  1.1.1.2.4.2  snj a new set to be obtained by rereading the keys file (which must
    778  1.1.1.2.4.2  snj have been specified in the
    779  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[]
    780  1.1.1.2.4.2  snj configuration file).
    781  1.1.1.2.4.2  snj This
    782  1.1.1.2.4.2  snj allows encryption keys to be changed without restarting the
    783  1.1.1.2.4.2  snj server.
    784  1.1.1.2.4.2  snj .TP 7
    785  1.1.1.2.4.2  snj .NOP \f\*[B-Font]trustedkey\f[] \f\*[I-Font]keyid\f[] [\f\*[I-Font]...\f[]]
    786  1.1.1.2.4.2  snj .TP 7
    787  1.1.1.2.4.2  snj .NOP \f\*[B-Font]untrustedkey\f[] \f\*[I-Font]keyid\f[] [\f\*[I-Font]...\f[]]
    788  1.1.1.2.4.2  snj These commands operate in the same way as the
    789  1.1.1.2.4.2  snj \f\*[B-Font]trustedkey\f[]
    790  1.1.1.2.4.2  snj and
    791  1.1.1.2.4.2  snj \f\*[B-Font]untrustedkey\f[]
    792  1.1.1.2.4.2  snj configuration file
    793  1.1.1.2.4.2  snj commands of
    794  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[].
    795  1.1.1.2.4.2  snj .TP 7
    796  1.1.1.2.4.2  snj .NOP \f\*[B-Font]authinfo\f[]
    797  1.1.1.2.4.2  snj Returns information concerning the authentication module,
    798  1.1.1.2.4.2  snj including known keys and counts of encryptions and decryptions
    799  1.1.1.2.4.2  snj which have been done.
    800  1.1.1.2.4.2  snj .TP 7
    801  1.1.1.2.4.2  snj .NOP \f\*[B-Font]traps\f[]
    802  1.1.1.2.4.2  snj Display the traps set in the server.
    803  1.1.1.2.4.2  snj See the source listing for
    804  1.1.1.2.4.2  snj further information.
    805  1.1.1.2.4.2  snj .TP 7
    806  1.1.1.2.4.2  snj .NOP \f\*[B-Font]addtrap\f[] \f\*[I-Font]address\f[] [\f\*[I-Font]port\f[]] [\f\*[I-Font]interface\f[]]
    807  1.1.1.2.4.2  snj Set a trap for asynchronous messages.
    808  1.1.1.2.4.2  snj See the source listing
    809  1.1.1.2.4.2  snj for further information.
    810  1.1.1.2.4.2  snj .TP 7
    811  1.1.1.2.4.2  snj .NOP \f\*[B-Font]clrtrap\f[] \f\*[I-Font]address\f[] [\f\*[I-Font]port\f[]] [\f\*[I-Font]interface\f[]]
    812  1.1.1.2.4.2  snj Clear a trap for asynchronous messages.
    813  1.1.1.2.4.2  snj See the source listing
    814  1.1.1.2.4.2  snj for further information.
    815  1.1.1.2.4.2  snj .TP 7
    816  1.1.1.2.4.2  snj .NOP \f\*[B-Font]reset\f[]
    817  1.1.1.2.4.2  snj Clear the statistics counters in various modules of the server.
    818  1.1.1.2.4.2  snj See the source listing for further information.
    819  1.1.1.2.4.2  snj .PP
    820  1.1.1.2.4.2  snj .SH "ENVIRONMENT"
    821  1.1.1.2.4.2  snj See \fBOPTION PRESETS\fP for configuration environment variables.
    822  1.1.1.2.4.2  snj .SH "FILES"
    823  1.1.1.2.4.2  snj See \fBOPTION PRESETS\fP for configuration files.
    824  1.1.1.2.4.2  snj .SH "EXIT STATUS"
    825  1.1.1.2.4.2  snj One of the following exit values will be returned:
    826  1.1.1.2.4.2  snj .TP
    827  1.1.1.2.4.2  snj .NOP 0 " (EXIT_SUCCESS)"
    828  1.1.1.2.4.2  snj Successful program execution.
    829  1.1.1.2.4.2  snj .TP
    830  1.1.1.2.4.2  snj .NOP 1 " (EXIT_FAILURE)"
    831  1.1.1.2.4.2  snj The operation failed or the command syntax was not valid.
    832  1.1.1.2.4.2  snj .TP
    833  1.1.1.2.4.2  snj .NOP 66 " (EX_NOINPUT)"
    834  1.1.1.2.4.2  snj A specified configuration file could not be loaded.
    835  1.1.1.2.4.2  snj .TP
    836  1.1.1.2.4.2  snj .NOP 70 " (EX_SOFTWARE)"
    837  1.1.1.2.4.2  snj libopts had an internal operational error.  Please report
    838  1.1.1.2.4.2  snj it to autogen-users (a] lists.sourceforge.net.  Thank you.
    839  1.1.1.2.4.2  snj .PP
    840  1.1.1.2.4.2  snj .SH "SEE ALSO"
    841  1.1.1.2.4.3  snj \fCntp.conf\f[]\fR(5)\f[],
    842  1.1.1.2.4.3  snj \fCntpd\f[]\fR(1ntpdmdoc)\f[]
    843  1.1.1.2.4.2  snj David L. Mills,
    844  1.1.1.2.4.2  snj \fINetwork Time Protocol (Version 3)\fR,
    845  1.1.1.2.4.2  snj RFC1305
    846  1.1.1.2.4.2  snj .PP
    847  1.1.1.2.4.2  snj 
    848  1.1.1.2.4.2  snj .SH AUTHORS
    849  1.1.1.2.4.2  snj The formatting directives in this document came from FreeBSD.
    850  1.1.1.2.4.2  snj .SH "COPYRIGHT"
    851  1.1.1.2.4.3  snj Copyright (C) 1992-2015 The University of Delaware and Network Time Foundation all rights reserved.
    852  1.1.1.2.4.2  snj This program is released under the terms of the NTP license, <http://ntp.org/license>.
    853  1.1.1.2.4.2  snj .SH BUGS
    854  1.1.1.2.4.2  snj The
    855  1.1.1.2.4.2  snj \f\*[B-Font]ntpdc\fP
    856  1.1.1.2.4.2  snj utility is a crude hack.
    857  1.1.1.2.4.2  snj Much of the information it shows is
    858  1.1.1.2.4.2  snj deadly boring and could only be loved by its implementer.
    859  1.1.1.2.4.2  snj The
    860  1.1.1.2.4.2  snj program was designed so that new (and temporary) features were easy
    861  1.1.1.2.4.2  snj to hack in, at great expense to the program's ease of use.
    862  1.1.1.2.4.2  snj Despite
    863  1.1.1.2.4.2  snj this, the program is occasionally useful.
    864  1.1.1.2.4.2  snj .sp \n(Ppu
    865  1.1.1.2.4.2  snj .ne 2
    866  1.1.1.2.4.2  snj 
    867  1.1.1.2.4.2  snj Please report bugs to http://bugs.ntp.org .
    868  1.1.1.2.4.2  snj .sp \n(Ppu
    869  1.1.1.2.4.2  snj .ne 2
    870  1.1.1.2.4.2  snj 
    871  1.1.1.2.4.2  snj Please send bug reports to: http://bugs.ntp.org, bugs (a] ntp.org
    872  1.1.1.2.4.2  snj .SH "NOTES"
    873  1.1.1.2.4.2  snj This manual page was \fIAutoGen\fP-erated from the \fBntpdc\fP
    874  1.1.1.2.4.2  snj option definitions.
    875