Home | History | Annotate | Line # | Download | only in ntpd
ntpd.1ntpdman revision 1.1
      1  1.1  christos .de1 NOP
      2  1.1  christos .  it 1 an-trap
      3  1.1  christos .  if \\n[.$] \,\\$*\/
      4  1.1  christos ..
      5  1.1  christos .ie t \
      6  1.1  christos .ds B-Font [CB]
      7  1.1  christos .ds I-Font [CI]
      8  1.1  christos .ds R-Font [CR]
      9  1.1  christos .el \
     10  1.1  christos .ds B-Font B
     11  1.1  christos .ds I-Font I
     12  1.1  christos .ds R-Font R
     13  1.1  christos .TH ntpd 1ntpdman "24 Dec 2013" "4.2.7p404" "User Commands"
     14  1.1  christos .\"
     15  1.1  christos .\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-3Ba4gQ/ag-eCa4fQ)
     16  1.1  christos .\"
     17  1.1  christos .\" It has been AutoGen-ed December 24, 2013 at 11:38:10 AM by AutoGen 5.18.3pre5
     18  1.1  christos .\" From the definitions ntpd-opts.def
     19  1.1  christos .\" and the template file agman-cmd.tpl
     20  1.1  christos .SH NAME
     21  1.1  christos \f\*[B-Font]ntpd\fP
     22  1.1  christos \- NTP daemon program
     23  1.1  christos .SH SYNOPSIS
     24  1.1  christos \f\*[B-Font]ntpd\fP
     25  1.1  christos .\" Mixture of short (flag) options and long options
     26  1.1  christos [\f\*[B-Font]\-flags\f[]]
     27  1.1  christos [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
     28  1.1  christos [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
     29  1.1  christos [ <server1> ... <serverN> ]
     30  1.1  christos .sp \n(Ppu
     31  1.1  christos .ne 2
     32  1.1  christos 
     33  1.1  christos .SH DESCRIPTION
     34  1.1  christos The
     35  1.1  christos \f\*[B-Font]ntpd\fP
     36  1.1  christos utility is an operating system daemon which sets
     37  1.1  christos and maintains the system time of day in synchronism with Internet
     38  1.1  christos standard time servers.
     39  1.1  christos It is a complete implementation of the
     40  1.1  christos Network Time Protocol (NTP) version 4, as defined by RFC-5905,
     41  1.1  christos but also retains compatibility with
     42  1.1  christos version 3, as defined by RFC-1305, and versions 1
     43  1.1  christos and 2, as defined by RFC-1059 and RFC-1119, respectively.
     44  1.1  christos .sp \n(Ppu
     45  1.1  christos .ne 2
     46  1.1  christos 
     47  1.1  christos The
     48  1.1  christos \f\*[B-Font]ntpd\fP
     49  1.1  christos utility does most computations in 64-bit floating point
     50  1.1  christos arithmetic and does relatively clumsy 64-bit fixed point operations
     51  1.1  christos only when necessary to preserve the ultimate precision, about 232
     52  1.1  christos picoseconds.
     53  1.1  christos While the ultimate precision is not achievable with
     54  1.1  christos ordinary workstations and networks of today, it may be required
     55  1.1  christos with future gigahertz CPU clocks and gigabit LANs.
     56  1.1  christos .sp \n(Ppu
     57  1.1  christos .ne 2
     58  1.1  christos 
     59  1.1  christos Ordinarily,
     60  1.1  christos \f\*[B-Font]ntpd\fP
     61  1.1  christos reads the
     62  1.1  christos \fCntp.conf\fR(5)\f[]
     63  1.1  christos configuration file at startup time in order to determine the
     64  1.1  christos synchronization sources and operating modes.
     65  1.1  christos It is also possible to
     66  1.1  christos specify a working, although limited, configuration entirely on the
     67  1.1  christos command line, obviating the need for a configuration file.
     68  1.1  christos This may
     69  1.1  christos be particularly useful when the local host is to be configured as a
     70  1.1  christos broadcast/multicast client, with all peers being determined by
     71  1.1  christos listening to broadcasts at run time.
     72  1.1  christos .sp \n(Ppu
     73  1.1  christos .ne 2
     74  1.1  christos 
     75  1.1  christos If NetInfo support is built into
     76  1.1  christos \f\*[B-Font]ntpd\fP,
     77  1.1  christos then
     78  1.1  christos \f\*[B-Font]ntpd\fP
     79  1.1  christos will attempt to read its configuration from the
     80  1.1  christos NetInfo if the default
     81  1.1  christos \fCntp.conf\fR(5)\f[]
     82  1.1  christos file cannot be read and no file is
     83  1.1  christos specified by the
     84  1.1  christos \f\*[B-Font]\-c\f[]
     85  1.1  christos option.
     86  1.1  christos .sp \n(Ppu
     87  1.1  christos .ne 2
     88  1.1  christos 
     89  1.1  christos Various internal
     90  1.1  christos \f\*[B-Font]ntpd\fP
     91  1.1  christos variables can be displayed and
     92  1.1  christos configuration options altered while the
     93  1.1  christos \f\*[B-Font]ntpd\fP
     94  1.1  christos is running
     95  1.1  christos using the
     96  1.1  christos \fCntpq\fR(1ntpqmdoc)\f[]
     97  1.1  christos and
     98  1.1  christos \fCntpdc\fR(1ntpdcmdoc)\f[]
     99  1.1  christos utility programs.
    100  1.1  christos .sp \n(Ppu
    101  1.1  christos .ne 2
    102  1.1  christos 
    103  1.1  christos When
    104  1.1  christos \f\*[B-Font]ntpd\fP
    105  1.1  christos starts it looks at the value of
    106  1.1  christos \fCumask\fR(2)\f[],
    107  1.1  christos and if zero
    108  1.1  christos \f\*[B-Font]ntpd\fP
    109  1.1  christos will set the
    110  1.1  christos \fCumask\fR(2)\f[]
    111  1.1  christos to 022.
    112  1.1  christos .SH "OPTIONS"
    113  1.1  christos .TP
    114  1.1  christos .NOP \f\*[B-Font]\-4\f[], \f\*[B-Font]\-\-ipv4\f[]
    115  1.1  christos Force IPv4 DNS name resolution.
    116  1.1  christos This option must not appear in combination with any of the following options:
    117  1.1  christos ipv6.
    118  1.1  christos .sp
    119  1.1  christos Force DNS resolution of following host names on the command line
    120  1.1  christos to the IPv4 namespace.
    121  1.1  christos .TP
    122  1.1  christos .NOP \f\*[B-Font]\-6\f[], \f\*[B-Font]\-\-ipv6\f[]
    123  1.1  christos Force IPv6 DNS name resolution.
    124  1.1  christos This option must not appear in combination with any of the following options:
    125  1.1  christos ipv4.
    126  1.1  christos .sp
    127  1.1  christos Force DNS resolution of following host names on the command line
    128  1.1  christos to the IPv6 namespace.
    129  1.1  christos .TP
    130  1.1  christos .NOP \f\*[B-Font]\-a\f[], \f\*[B-Font]\-\-authreq\f[]
    131  1.1  christos Require crypto authentication.
    132  1.1  christos This option must not appear in combination with any of the following options:
    133  1.1  christos authnoreq.
    134  1.1  christos .sp
    135  1.1  christos Require cryptographic authentication for broadcast client,
    136  1.1  christos multicast client and symmetric passive associations.
    137  1.1  christos This is the default.
    138  1.1  christos .TP
    139  1.1  christos .NOP \f\*[B-Font]\-A\f[], \f\*[B-Font]\-\-authnoreq\f[]
    140  1.1  christos Do not require crypto authentication.
    141  1.1  christos This option must not appear in combination with any of the following options:
    142  1.1  christos authreq.
    143  1.1  christos .sp
    144  1.1  christos Do not require cryptographic authentication for broadcast client,
    145  1.1  christos multicast client and symmetric passive associations.
    146  1.1  christos This is almost never a good idea.
    147  1.1  christos .TP
    148  1.1  christos .NOP \f\*[B-Font]\-b\f[], \f\*[B-Font]\-\-bcastsync\f[]
    149  1.1  christos Allow us to sync to broadcast servers.
    150  1.1  christos .sp
    151  1.1  christos .TP
    152  1.1  christos .NOP \f\*[B-Font]\-c\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-configfile\f[]=\f\*[I-Font]string\f[]
    153  1.1  christos configuration file name.
    154  1.1  christos .sp
    155  1.1  christos The name and path of the configuration file,
    156  1.1  christos \fI/etc/ntp.conf\fP
    157  1.1  christos by default.
    158  1.1  christos .TP
    159  1.1  christos .NOP \f\*[B-Font]\-d\f[], \f\*[B-Font]\-\-debug\-level\f[]
    160  1.1  christos Increase debug verbosity level.
    161  1.1  christos This option may appear an unlimited number of times.
    162  1.1  christos .sp
    163  1.1  christos .TP
    164  1.1  christos .NOP \f\*[B-Font]\-D\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-set\-debug\-level\f[]=\f\*[I-Font]number\f[]
    165  1.1  christos Set the debug verbosity level.
    166  1.1  christos This option may appear an unlimited number of times.
    167  1.1  christos This option takes an integer number as its argument.
    168  1.1  christos .sp
    169  1.1  christos .TP
    170  1.1  christos .NOP \f\*[B-Font]\-f\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-driftfile\f[]=\f\*[I-Font]string\f[]
    171  1.1  christos frequency drift file name.
    172  1.1  christos .sp
    173  1.1  christos The name and path of the frequency file,
    174  1.1  christos \fI/etc/ntp.drift\fP
    175  1.1  christos by default.
    176  1.1  christos This is the same operation as the
    177  1.1  christos \fBdriftfile\fP \fIdriftfile\fP
    178  1.1  christos configuration specification in the 
    179  1.1  christos \fI/etc/ntp.conf\fP
    180  1.1  christos file.
    181  1.1  christos .TP
    182  1.1  christos .NOP \f\*[B-Font]\-g\f[], \f\*[B-Font]\-\-panicgate\f[]
    183  1.1  christos Allow the first adjustment to be Big.
    184  1.1  christos This option may appear an unlimited number of times.
    185  1.1  christos .sp
    186  1.1  christos Normally,
    187  1.1  christos \fBntpd\fP
    188  1.1  christos exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. This option allows the time to be set to any value without restriction; however, this can happen only once. If the threshold is exceeded after that,
    189  1.1  christos \fBntpd\fP
    190  1.1  christos will exit with a message to the system log. This option can be used with the
    191  1.1  christos \fB-q\fP
    192  1.1  christos and
    193  1.1  christos \fB-x\fP
    194  1.1  christos options.
    195  1.1  christos See the
    196  1.1  christos \fBtinker\fP
    197  1.1  christos configuration file directive for other options.
    198  1.1  christos .TP
    199  1.1  christos .NOP \f\*[B-Font]\-i\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-jaildir\f[]=\f\*[I-Font]string\f[]
    200  1.1  christos Jail directory.
    201  1.1  christos .sp
    202  1.1  christos Chroot the server to the directory
    203  1.1  christos \fIjaildir\fP
    204  1.1  christos .
    205  1.1  christos This option also implies that the server attempts to drop root privileges at startup.
    206  1.1  christos You may need to also specify a
    207  1.1  christos \fB-u\fP
    208  1.1  christos option.
    209  1.1  christos This option is only available if the OS supports adjusting the clock
    210  1.1  christos without full root privileges.
    211  1.1  christos This option is supported under NetBSD (configure with
    212  1.1  christos \fB--enable-clockctl\fP) or Linux (configure with
    213  1.1  christos \fB--enable-linuxcaps\fP) or Solaris (configure with \fB--enable-solarisprivs\fP).
    214  1.1  christos .TP
    215  1.1  christos .NOP \f\*[B-Font]\-I\f[] \f\*[I-Font]iface\f[], \f\*[B-Font]\-\-interface\f[]=\f\*[I-Font]iface\f[]
    216  1.1  christos Listen on an interface name or address.
    217  1.1  christos This option may appear an unlimited number of times.
    218  1.1  christos .sp
    219  1.1  christos Open the network address given, or all the addresses associated with the
    220  1.1  christos given interface name.  This option may appear multiple times.  This option
    221  1.1  christos also implies not opening other addresses, except wildcard and localhost.
    222  1.1  christos This option is deprecated. Please consider using the configuration file
    223  1.1  christos \fBinterface\fP command, which is more versatile. 
    224  1.1  christos .TP
    225  1.1  christos .NOP \f\*[B-Font]\-k\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-keyfile\f[]=\f\*[I-Font]string\f[]
    226  1.1  christos path to symmetric keys.
    227  1.1  christos .sp
    228  1.1  christos Specify the name and path of the symmetric key file.
    229  1.1  christos \fI/etc/ntp.keys\fP
    230  1.1  christos is the default.
    231  1.1  christos This is the same operation as the
    232  1.1  christos \fBkeys\fP \fIkeyfile\fP
    233  1.1  christos configuration file directive.
    234  1.1  christos .TP
    235  1.1  christos .NOP \f\*[B-Font]\-l\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-logfile\f[]=\f\*[I-Font]string\f[]
    236  1.1  christos path to the log file.
    237  1.1  christos .sp
    238  1.1  christos Specify the name and path of the log file.
    239  1.1  christos The default is the system log file.
    240  1.1  christos This is the same operation as the
    241  1.1  christos \fBlogfile\fP \fIlogfile\fP
    242  1.1  christos configuration file directive.
    243  1.1  christos .TP
    244  1.1  christos .NOP \f\*[B-Font]\-L\f[], \f\*[B-Font]\-\-novirtualips\f[]
    245  1.1  christos Do not listen to virtual interfaces.
    246  1.1  christos .sp
    247  1.1  christos Do not listen to virtual interfaces, defined as those with
    248  1.1  christos names containing a colon.  This option is deprecated.  Please
    249  1.1  christos consider using the configuration file \fBinterface\fP command, which
    250  1.1  christos is more versatile.
    251  1.1  christos .TP
    252  1.1  christos .NOP \f\*[B-Font]\-M\f[], \f\*[B-Font]\-\-modifymmtimer\f[]
    253  1.1  christos Modify Multimedia Timer (Windows only).
    254  1.1  christos .sp
    255  1.1  christos Set the Windows Multimedia Timer to highest resolution.  This
    256  1.1  christos ensures the resolution does not change while ntpd is running,
    257  1.1  christos avoiding timekeeping glitches associated with changes.
    258  1.1  christos .TP
    259  1.1  christos .NOP \f\*[B-Font]\-n\f[], \f\*[B-Font]\-\-nofork\f[]
    260  1.1  christos Do not fork.
    261  1.1  christos This option must not appear in combination with any of the following options:
    262  1.1  christos wait-sync.
    263  1.1  christos .sp
    264  1.1  christos .TP
    265  1.1  christos .NOP \f\*[B-Font]\-N\f[], \f\*[B-Font]\-\-nice\f[]
    266  1.1  christos Run at high priority.
    267  1.1  christos .sp
    268  1.1  christos To the extent permitted by the operating system, run
    269  1.1  christos \fBntpd\fP
    270  1.1  christos at the highest priority.
    271  1.1  christos .TP
    272  1.1  christos .NOP \f\*[B-Font]\-p\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-pidfile\f[]=\f\*[I-Font]string\f[]
    273  1.1  christos path to the PID file.
    274  1.1  christos .sp
    275  1.1  christos Specify the name and path of the file used to record
    276  1.1  christos \fBntpd\fP's
    277  1.1  christos process ID.
    278  1.1  christos This is the same operation as the
    279  1.1  christos \fBpidfile\fP \fIpidfile\fP
    280  1.1  christos configuration file directive.
    281  1.1  christos .TP
    282  1.1  christos .NOP \f\*[B-Font]\-P\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-priority\f[]=\f\*[I-Font]number\f[]
    283  1.1  christos Process priority.
    284  1.1  christos This option takes an integer number as its argument.
    285  1.1  christos .sp
    286  1.1  christos To the extent permitted by the operating system, run
    287  1.1  christos \fBntpd\fP
    288  1.1  christos at the specified
    289  1.1  christos \fBsched_setscheduler(SCHED_FIFO)\fP
    290  1.1  christos priority.
    291  1.1  christos .TP
    292  1.1  christos .NOP \f\*[B-Font]\-q\f[], \f\*[B-Font]\-\-quit\f[]
    293  1.1  christos Set the time and quit.
    294  1.1  christos This option must not appear in combination with any of the following options:
    295  1.1  christos saveconfigquit, wait-sync.
    296  1.1  christos .sp
    297  1.1  christos \fBntpd\fP
    298  1.1  christos will not daemonize and will exit after the clock is first
    299  1.1  christos synchronized.  This behavior mimics that of the
    300  1.1  christos \fBntpdate\fP
    301  1.1  christos program, which will soon be replaced with a shell script.
    302  1.1  christos The
    303  1.1  christos \fB-g\fP
    304  1.1  christos and
    305  1.1  christos \fB-x\fP
    306  1.1  christos options can be used with this option.
    307  1.1  christos Note: The kernel time discipline is disabled with this option.
    308  1.1  christos .TP
    309  1.1  christos .NOP \f\*[B-Font]\-r\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-propagationdelay\f[]=\f\*[I-Font]string\f[]
    310  1.1  christos Broadcast/propagation delay.
    311  1.1  christos .sp
    312  1.1  christos Specify the default propagation delay from the broadcast/multicast server to this client. This is necessary only if the delay cannot be computed automatically by the protocol.
    313  1.1  christos .TP
    314  1.1  christos .NOP \f\*[B-Font]\-\-saveconfigquit\f[]=\f\*[I-Font]string\f[]
    315  1.1  christos Save parsed configuration and quit.
    316  1.1  christos This option must not appear in combination with any of the following options:
    317  1.1  christos quit, wait-sync.
    318  1.1  christos .sp
    319  1.1  christos Cause \fBntpd\fP to parse its startup configuration file and save an
    320  1.1  christos equivalent to the given filename and exit.  This option was
    321  1.1  christos designed for automated testing.
    322  1.1  christos .TP
    323  1.1  christos .NOP \f\*[B-Font]\-s\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-statsdir\f[]=\f\*[I-Font]string\f[]
    324  1.1  christos Statistics file location.
    325  1.1  christos .sp
    326  1.1  christos Specify the directory path for files created by the statistics facility.
    327  1.1  christos This is the same operation as the
    328  1.1  christos \fBstatsdir\fP \fIstatsdir\fP
    329  1.1  christos configuration file directive.
    330  1.1  christos .TP
    331  1.1  christos .NOP \f\*[B-Font]\-t\f[] \f\*[I-Font]tkey\f[], \f\*[B-Font]\-\-trustedkey\f[]=\f\*[I-Font]tkey\f[]
    332  1.1  christos Trusted key number.
    333  1.1  christos This option may appear an unlimited number of times.
    334  1.1  christos .sp
    335  1.1  christos Add the specified key number to the trusted key list.
    336  1.1  christos .TP
    337  1.1  christos .NOP \f\*[B-Font]\-u\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-user\f[]=\f\*[I-Font]string\f[]
    338  1.1  christos Run as userid (or userid:groupid).
    339  1.1  christos .sp
    340  1.1  christos Specify a user, and optionally a group, to switch to.
    341  1.1  christos This option is only available if the OS supports adjusting the clock
    342  1.1  christos without full root privileges.
    343  1.1  christos This option is supported under NetBSD (configure with
    344  1.1  christos \fB--enable-clockctl\fP) or Linux (configure with
    345  1.1  christos \fB--enable-linuxcaps\fP) or Solaris (configure with \fB--enable-solarisprivs\fP).
    346  1.1  christos .TP
    347  1.1  christos .NOP \f\*[B-Font]\-U\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-updateinterval\f[]=\f\*[I-Font]number\f[]
    348  1.1  christos interval in seconds between scans for new or dropped interfaces.
    349  1.1  christos This option takes an integer number as its argument.
    350  1.1  christos .sp
    351  1.1  christos Give the time in seconds between two scans for new or dropped interfaces.
    352  1.1  christos For systems with routing socket support the scans will be performed shortly after the interface change
    353  1.1  christos has been detected by the system.
    354  1.1  christos Use 0 to disable scanning. 60 seconds is the minimum time between scans.
    355  1.1  christos .TP
    356  1.1  christos .NOP \f\*[B-Font]\-\-var\f[]=\f\*[I-Font]nvar\f[]
    357  1.1  christos make ARG an ntp variable (RW).
    358  1.1  christos This option may appear an unlimited number of times.
    359  1.1  christos .sp
    360  1.1  christos .TP
    361  1.1  christos .NOP \f\*[B-Font]\-\-dvar\f[]=\f\*[I-Font]ndvar\f[]
    362  1.1  christos make ARG an ntp variable (RW|DEF).
    363  1.1  christos This option may appear an unlimited number of times.
    364  1.1  christos .sp
    365  1.1  christos .TP
    366  1.1  christos .NOP \f\*[B-Font]\-w\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-wait\-sync\f[]=\f\*[I-Font]number\f[]
    367  1.1  christos Seconds to wait for first clock sync.
    368  1.1  christos This option must not appear in combination with any of the following options:
    369  1.1  christos nofork, quit, saveconfigquit.
    370  1.1  christos This option takes an integer number as its argument.
    371  1.1  christos .sp
    372  1.1  christos If greater than zero, alters \fBntpd\fP's behavior when forking to
    373  1.1  christos daemonize.  Instead of exiting with status 0 immediately after
    374  1.1  christos the fork, the parent waits up to the specified number of
    375  1.1  christos seconds for the child to first synchronize the clock.  The exit
    376  1.1  christos status is zero (success) if the clock was synchronized,
    377  1.1  christos otherwise it is \fBETIMEDOUT\fP.
    378  1.1  christos This provides the option for a script starting \fBntpd\fP to easily
    379  1.1  christos wait for the first set of the clock before proceeding.
    380  1.1  christos .TP
    381  1.1  christos .NOP \f\*[B-Font]\-x\f[], \f\*[B-Font]\-\-slew\f[]
    382  1.1  christos Slew up to 600 seconds.
    383  1.1  christos .sp
    384  1.1  christos Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold.
    385  1.1  christos This option sets the threshold to 600 s, which is well within the accuracy window to set the clock manually.
    386  1.1  christos Note: Since the slew rate of typical Unix kernels is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s.
    387  1.1  christos Thus, an adjustment as much as 600 s will take almost 14 days to complete.
    388  1.1  christos This option can be used with the
    389  1.1  christos \fB-g\fP
    390  1.1  christos and
    391  1.1  christos \fB-q\fP
    392  1.1  christos options.
    393  1.1  christos See the
    394  1.1  christos \fBtinker\fP
    395  1.1  christos configuration file directive for other options.
    396  1.1  christos Note: The kernel time discipline is disabled with this option.
    397  1.1  christos .TP
    398  1.1  christos .NOP \f\*[B-Font]\-\-usepcc\f[]
    399  1.1  christos Use CPU cycle counter (Windows only).
    400  1.1  christos .sp
    401  1.1  christos Attempt to substitute the CPU counter for \fBQueryPerformanceCounter\fP.
    402  1.1  christos The CPU counter and \fBQueryPerformanceCounter\fP are compared, and if
    403  1.1  christos they have the same frequency, the CPU counter (RDTSC on x86) is
    404  1.1  christos used directly, saving the overhead of a system call.
    405  1.1  christos .TP
    406  1.1  christos .NOP \f\*[B-Font]\-\-pccfreq\f[]=\f\*[I-Font]string\f[]
    407  1.1  christos Force CPU cycle counter use (Windows only).
    408  1.1  christos .sp
    409  1.1  christos Force substitution the CPU counter for \fBQueryPerformanceCounter\fP.
    410  1.1  christos The CPU counter (RDTSC on x86) is used unconditionally with the
    411  1.1  christos given frequency (in Hz).
    412  1.1  christos .TP
    413  1.1  christos .NOP \f\*[B-Font]\-m\f[], \f\*[B-Font]\-\-mdns\f[]
    414  1.1  christos Register with mDNS as a NTP server.
    415  1.1  christos .sp
    416  1.1  christos Registers as an NTP server with the local mDNS server which allows
    417  1.1  christos the server to be discovered via mDNS client lookup.
    418  1.1  christos .TP
    419  1.1  christos .NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
    420  1.1  christos Display usage information and exit.
    421  1.1  christos .TP
    422  1.1  christos .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
    423  1.1  christos Pass the extended usage information through a pager.
    424  1.1  christos .TP
    425  1.1  christos .NOP \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]
    426  1.1  christos Output version of program and exit.  The default mode is `v', a simple
    427  1.1  christos version.  The `c' mode will print copyright information and `n' will
    428  1.1  christos print the full copyright notice.
    429  1.1  christos .PP
    430  1.1  christos .SH "OPTION PRESETS"
    431  1.1  christos Any option that is not marked as \fInot presettable\fP may be preset
    432  1.1  christos by loading values from environment variables named:
    433  1.1  christos .nf
    434  1.1  christos   \fBNTPD_<option-name>\fP or \fBNTPD\fP
    435  1.1  christos .fi
    436  1.1  christos .ad
    437  1.1  christos .TH ntpd 1ntpdman "24 Dec 2013" "4.2.7p404" "User Commands"
    438  1.1  christos .\"
    439  1.1  christos .\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-3Ba4gQ/ag-eCa4fQ)
    440  1.1  christos .\"
    441  1.1  christos .\" It has been AutoGen-ed December 24, 2013 at 11:38:10 AM by AutoGen 5.18.3pre5
    442  1.1  christos .\" From the definitions ntpd-opts.def
    443  1.1  christos .\" and the template file agman-cmd.tpl
    444  1.1  christos .SH NAME
    445  1.1  christos \f\*[B-Font]ntpd\fP ntpd
    446  1.1  christos \- NTP daemon program
    447  1.1  christos cvt_prog='/usr/local/gnu/share/autogen/texi2man'
    448  1.1  christos cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
    449  1.1  christos          `/`basename "$cvt_prog"`
    450  1.1  christos cd $tmp_dir
    451  1.1  christos test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
    452  1.1  christos {
    453  1.1  christos     list='synopsis description options option-presets'
    454  1.1  christos     for f in $list ; do cat $f ; echo ; done
    455  1.1  christos     rm \-f $list name
    456  1.1  christos     list='implementation-notes environment files examples exit-status errors
    457  1.1  christos         compatibility see-also conforming-to history authors copyright bugs
    458  1.1  christos         notes'
    459  1.1  christos     for f in $list ; do cat $f ; echo ; done > .end-doc
    460  1.1  christos     rm \-f $list
    461  1.1  christos     list=`ls \-1 *`' .end-doc'
    462  1.1  christos     for f in $list ; do cat $f ; echo ; done
    463  1.1  christos     rm \-f $list
    464  1.1  christos } 1>.doc 2>/dev/null
    465  1.1  christos sed \-f .cmds .doc | /usr/local/gnu/bin/grep \-E \-v '^[ 	]*$' | $cvt_prog
    466  1.1  christos .SH USAGE
    467  1.1  christos .SS "How NTP Operates"
    468  1.1  christos The
    469  1.1  christos \f\*[B-Font]ntpd\fP
    470  1.1  christos utility operates by exchanging messages with
    471  1.1  christos one or more configured servers over a range of designated poll intervals.
    472  1.1  christos When
    473  1.1  christos started, whether for the first or subsequent times, the program
    474  1.1  christos requires several exchanges from the majority of these servers so
    475  1.1  christos the signal processing and mitigation algorithms can accumulate and
    476  1.1  christos groom the data and set the clock.
    477  1.1  christos In order to protect the network
    478  1.1  christos from bursts, the initial poll interval for each server is delayed
    479  1.1  christos an interval randomized over a few seconds.
    480  1.1  christos At the default initial poll
    481  1.1  christos interval of 64s, several minutes can elapse before the clock is
    482  1.1  christos set.
    483  1.1  christos This initial delay to set the clock
    484  1.1  christos can be safely and dramatically reduced using the
    485  1.1  christos \f\*[B-Font]iburst\f[]
    486  1.1  christos keyword with the
    487  1.1  christos \f\*[B-Font]server\f[]
    488  1.1  christos configuration
    489  1.1  christos command, as described in
    490  1.1  christos \fCntp.conf\fR(5)\f[].
    491  1.1  christos .sp \n(Ppu
    492  1.1  christos .ne 2
    493  1.1  christos 
    494  1.1  christos Most operating systems and hardware of today incorporate a
    495  1.1  christos time-of-year (TOY) chip to maintain the time during periods when
    496  1.1  christos the power is off.
    497  1.1  christos When the machine is booted, the chip is used to
    498  1.1  christos initialize the operating system time.
    499  1.1  christos After the machine has
    500  1.1  christos synchronized to a NTP server, the operating system corrects the
    501  1.1  christos chip from time to time.
    502  1.1  christos In the default case, if
    503  1.1  christos \f\*[B-Font]ntpd\fP
    504  1.1  christos detects that the time on the host
    505  1.1  christos is more than 1000s from the server time,
    506  1.1  christos \f\*[B-Font]ntpd\fP
    507  1.1  christos assumes something must be terribly wrong and the only
    508  1.1  christos reliable action is for the operator to intervene and set the clock
    509  1.1  christos by hand.
    510  1.1  christos (Reasons for this include there is no TOY chip,
    511  1.1  christos or its battery is dead, or that the TOY chip is just of poor quality.)
    512  1.1  christos This causes
    513  1.1  christos \f\*[B-Font]ntpd\fP
    514  1.1  christos to exit with a panic message to
    515  1.1  christos the system log.
    516  1.1  christos The
    517  1.1  christos \f\*[B-Font]\-g\f[]
    518  1.1  christos option overrides this check and the
    519  1.1  christos clock will be set to the server time regardless of the chip time
    520  1.1  christos (up to 68 years in the past or future \(em
    521  1.1  christos this is a limitation of the NTPv4 protocol).
    522  1.1  christos However, and to protect against broken hardware, such as when the
    523  1.1  christos CMOS battery fails or the clock counter becomes defective, once the
    524  1.1  christos clock has been set an error greater than 1000s will cause
    525  1.1  christos \f\*[B-Font]ntpd\fP
    526  1.1  christos to exit anyway.
    527  1.1  christos .sp \n(Ppu
    528  1.1  christos .ne 2
    529  1.1  christos 
    530  1.1  christos Under ordinary conditions,
    531  1.1  christos \f\*[B-Font]ntpd\fP
    532  1.1  christos adjusts the clock in
    533  1.1  christos small steps so that the timescale is effectively continuous and
    534  1.1  christos without discontinuities.
    535  1.1  christos Under conditions of extreme network
    536  1.1  christos congestion, the roundtrip delay jitter can exceed three seconds and
    537  1.1  christos the synchronization distance, which is equal to one-half the
    538  1.1  christos roundtrip delay plus error budget terms, can become very large.
    539  1.1  christos The
    540  1.1  christos \f\*[B-Font]ntpd\fP
    541  1.1  christos algorithms discard sample offsets exceeding 128 ms,
    542  1.1  christos unless the interval during which no sample offset is less than 128
    543  1.1  christos ms exceeds 900s.
    544  1.1  christos The first sample after that, no matter what the
    545  1.1  christos offset, steps the clock to the indicated time.
    546  1.1  christos In practice this
    547  1.1  christos reduces the false alarm rate where the clock is stepped in error to
    548  1.1  christos a vanishingly low incidence.
    549  1.1  christos .sp \n(Ppu
    550  1.1  christos .ne 2
    551  1.1  christos 
    552  1.1  christos As the result of this behavior, once the clock has been set it
    553  1.1  christos very rarely strays more than 128 ms even under extreme cases of
    554  1.1  christos network path congestion and jitter.
    555  1.1  christos Sometimes, in particular when
    556  1.1  christos \f\*[B-Font]ntpd\fP
    557  1.1  christos is first started without a valid drift file
    558  1.1  christos on a system with a large intrinsic drift
    559  1.1  christos the error might grow to exceed 128 ms,
    560  1.1  christos which would cause the clock to be set backwards
    561  1.1  christos if the local clock time is more than 128 s
    562  1.1  christos in the future relative to the server.
    563  1.1  christos In some applications, this behavior may be unacceptable.
    564  1.1  christos There are several solutions, however.
    565  1.1  christos If the
    566  1.1  christos \f\*[B-Font]\-x\f[]
    567  1.1  christos option is included on the command line, the clock will
    568  1.1  christos never be stepped and only slew corrections will be used.
    569  1.1  christos But this choice comes with a cost that
    570  1.1  christos should be carefully explored before deciding to use
    571  1.1  christos the
    572  1.1  christos \f\*[B-Font]\-x\f[]
    573  1.1  christos option.
    574  1.1  christos The maximum slew rate possible is limited
    575  1.1  christos to 500 parts-per-million (PPM) as a consequence of the correctness
    576  1.1  christos principles on which the NTP protocol and algorithm design are
    577  1.1  christos based.
    578  1.1  christos As a result, the local clock can take a long time to
    579  1.1  christos converge to an acceptable offset, about 2,000 s for each second the
    580  1.1  christos clock is outside the acceptable range.
    581  1.1  christos During this interval the
    582  1.1  christos local clock will not be consistent with any other network clock and
    583  1.1  christos the system cannot be used for distributed applications that require
    584  1.1  christos correctly synchronized network time.
    585  1.1  christos .sp \n(Ppu
    586  1.1  christos .ne 2
    587  1.1  christos 
    588  1.1  christos In spite of the above precautions, sometimes when large
    589  1.1  christos frequency errors are present the resulting time offsets stray
    590  1.1  christos outside the 128-ms range and an eventual step or slew time
    591  1.1  christos correction is required.
    592  1.1  christos If following such a correction the
    593  1.1  christos frequency error is so large that the first sample is outside the
    594  1.1  christos acceptable range,
    595  1.1  christos \f\*[B-Font]ntpd\fP
    596  1.1  christos enters the same state as when the
    597  1.1  christos \fIntp.drift\f[]
    598  1.1  christos file is not present.
    599  1.1  christos The intent of this behavior
    600  1.1  christos is to quickly correct the frequency and restore operation to the
    601  1.1  christos normal tracking mode.
    602  1.1  christos In the most extreme cases
    603  1.1  christos (the host
    604  1.1  christos \f\*[B-Font]time.ien.it\f[]
    605  1.1  christos comes to mind), there may be occasional
    606  1.1  christos step/slew corrections and subsequent frequency corrections.
    607  1.1  christos It
    608  1.1  christos helps in these cases to use the
    609  1.1  christos \f\*[B-Font]burst\f[]
    610  1.1  christos keyword when
    611  1.1  christos configuring the server, but
    612  1.1  christos ONLY
    613  1.1  christos when you have permission to do so from the owner of the target host.
    614  1.1  christos .sp \n(Ppu
    615  1.1  christos .ne 2
    616  1.1  christos 
    617  1.1  christos Finally,
    618  1.1  christos in the past many startup scripts would run
    619  1.1  christos \fCntpdate\fR(1ntpdatemdoc)\f[]
    620  1.1  christos to get the system clock close to correct before starting
    621  1.1  christos \fCntpd\fR(1ntpdmdoc)\f[],
    622  1.1  christos but this was never more than a mediocre hack and is no longer needed.
    623  1.1  christos .sp \n(Ppu
    624  1.1  christos .ne 2
    625  1.1  christos 
    626  1.1  christos There is a way to start
    627  1.1  christos \fCntpd\fR(1ntpdmdoc)\f[]
    628  1.1  christos that often addresses all of the problems mentioned above.
    629  1.1  christos .SS "Starting NTP (Best Current Practice)"
    630  1.1  christos First, use the
    631  1.1  christos \f\*[B-Font]iburst\f[]
    632  1.1  christos option on your
    633  1.1  christos \f\*[B-Font]server\f[]
    634  1.1  christos entries.
    635  1.1  christos .sp \n(Ppu
    636  1.1  christos .ne 2
    637  1.1  christos 
    638  1.1  christos If you can also keep a good
    639  1.1  christos \fIntp.drift\f[]
    640  1.1  christos file then
    641  1.1  christos \fCntpd\fR(1ntpdmdoc)\f[]
    642  1.1  christos will effectively "warm-start" and your system's clock will
    643  1.1  christos be stable in under 11 seconds' time.
    644  1.1  christos .sp \n(Ppu
    645  1.1  christos .ne 2
    646  1.1  christos 
    647  1.1  christos As soon as possible in the startup sequence, start
    648  1.1  christos \fCntpd\fR(1ntpdmdoc)\f[]
    649  1.1  christos with at least the
    650  1.1  christos \f\*[B-Font]\-g\f[]
    651  1.1  christos and perhaps the
    652  1.1  christos \f\*[B-Font]\-N\f[]
    653  1.1  christos options.
    654  1.1  christos Then,
    655  1.1  christos start the rest of your "normal" processes.
    656  1.1  christos This will give
    657  1.1  christos \fCntpd\fR(1ntpdmdoc)\f[]
    658  1.1  christos as much time as possible to get the system's clock synchronized and stable.
    659  1.1  christos .sp \n(Ppu
    660  1.1  christos .ne 2
    661  1.1  christos 
    662  1.1  christos Finally,
    663  1.1  christos if you have processes like
    664  1.1  christos \f\*[B-Font]dovecot\f[]
    665  1.1  christos or database servers
    666  1.1  christos that require
    667  1.1  christos monotonically-increasing time,
    668  1.1  christos run
    669  1.1  christos \fCntp-wait\fR(1ntp-waitmdoc)\f[]
    670  1.1  christos as late as possible in the boot sequence
    671  1.1  christos (perhaps with the
    672  1.1  christos \f\*[B-Font]\-v\f[]
    673  1.1  christos flag)
    674  1.1  christos and after
    675  1.1  christos \fCntp-wait\fR(1ntp-waitmdoc)\f[]
    676  1.1  christos exits successfully
    677  1.1  christos it is as safe as it will ever be to start any process that require
    678  1.1  christos stable time.
    679  1.1  christos .SS "Frequency Discipline"
    680  1.1  christos The
    681  1.1  christos \f\*[B-Font]ntpd\fP
    682  1.1  christos behavior at startup depends on whether the
    683  1.1  christos frequency file, usually
    684  1.1  christos \fIntp.drift\f[],
    685  1.1  christos exists.
    686  1.1  christos This file
    687  1.1  christos contains the latest estimate of clock frequency error.
    688  1.1  christos When the
    689  1.1  christos \f\*[B-Font]ntpd\fP
    690  1.1  christos is started and the file does not exist, the
    691  1.1  christos \f\*[B-Font]ntpd\fP
    692  1.1  christos enters a special mode designed to quickly adapt to
    693  1.1  christos the particular system clock oscillator time and frequency error.
    694  1.1  christos This takes approximately 15 minutes, after which the time and
    695  1.1  christos frequency are set to nominal values and the
    696  1.1  christos \f\*[B-Font]ntpd\fP
    697  1.1  christos enters
    698  1.1  christos normal mode, where the time and frequency are continuously tracked
    699  1.1  christos relative to the server.
    700  1.1  christos After one hour the frequency file is
    701  1.1  christos created and the current frequency offset written to it.
    702  1.1  christos When the
    703  1.1  christos \f\*[B-Font]ntpd\fP
    704  1.1  christos is started and the file does exist, the
    705  1.1  christos \f\*[B-Font]ntpd\fP
    706  1.1  christos frequency is initialized from the file and enters normal mode
    707  1.1  christos immediately.
    708  1.1  christos After that the current frequency offset is written to
    709  1.1  christos the file at hourly intervals.
    710  1.1  christos .SS "Operating Modes"
    711  1.1  christos The
    712  1.1  christos \f\*[B-Font]ntpd\fP
    713  1.1  christos utility can operate in any of several modes, including
    714  1.1  christos symmetric active/passive, client/server broadcast/multicast and
    715  1.1  christos manycast, as described in the
    716  1.1  christos "Association Management"
    717  1.1  christos page
    718  1.1  christos (available as part of the HTML documentation
    719  1.1  christos provided in
    720  1.1  christos \fI/usr/share/doc/ntp\f[]).
    721  1.1  christos It normally operates continuously while
    722  1.1  christos monitoring for small changes in frequency and trimming the clock
    723  1.1  christos for the ultimate precision.
    724  1.1  christos However, it can operate in a one-time
    725  1.1  christos mode where the time is set from an external server and frequency is
    726  1.1  christos set from a previously recorded frequency file.
    727  1.1  christos A
    728  1.1  christos broadcast/multicast or manycast client can discover remote servers,
    729  1.1  christos compute server-client propagation delay correction factors and
    730  1.1  christos configure itself automatically.
    731  1.1  christos This makes it possible to deploy a
    732  1.1  christos fleet of workstations without specifying configuration details
    733  1.1  christos specific to the local environment.
    734  1.1  christos .sp \n(Ppu
    735  1.1  christos .ne 2
    736  1.1  christos 
    737  1.1  christos By default,
    738  1.1  christos \f\*[B-Font]ntpd\fP
    739  1.1  christos runs in continuous mode where each of
    740  1.1  christos possibly several external servers is polled at intervals determined
    741  1.1  christos by an intricate state machine.
    742  1.1  christos The state machine measures the
    743  1.1  christos incidental roundtrip delay jitter and oscillator frequency wander
    744  1.1  christos and determines the best poll interval using a heuristic algorithm.
    745  1.1  christos Ordinarily, and in most operating environments, the state machine
    746  1.1  christos will start with 64s intervals and eventually increase in steps to
    747  1.1  christos 1024s.
    748  1.1  christos A small amount of random variation is introduced in order to
    749  1.1  christos avoid bunching at the servers.
    750  1.1  christos In addition, should a server become
    751  1.1  christos unreachable for some time, the poll interval is increased in steps
    752  1.1  christos to 1024s in order to reduce network overhead.
    753  1.1  christos .sp \n(Ppu
    754  1.1  christos .ne 2
    755  1.1  christos 
    756  1.1  christos In some cases it may not be practical for
    757  1.1  christos \f\*[B-Font]ntpd\fP
    758  1.1  christos to run
    759  1.1  christos continuously.
    760  1.1  christos A common workaround has been to run the
    761  1.1  christos \fCntpdate\fR(1ntpdatemdoc)\f[]
    762  1.1  christos program from a
    763  1.1  christos \fCcron\fR(8)\f[]
    764  1.1  christos job at designated
    765  1.1  christos times.
    766  1.1  christos However, this program does not have the crafted signal
    767  1.1  christos processing, error checking and mitigation algorithms of
    768  1.1  christos \f\*[B-Font]ntpd\fP.
    769  1.1  christos The
    770  1.1  christos \f\*[B-Font]\-q\f[]
    771  1.1  christos option is intended for this purpose.
    772  1.1  christos Setting this option will cause
    773  1.1  christos \f\*[B-Font]ntpd\fP
    774  1.1  christos to exit just after
    775  1.1  christos setting the clock for the first time.
    776  1.1  christos The procedure for initially
    777  1.1  christos setting the clock is the same as in continuous mode; most
    778  1.1  christos applications will probably want to specify the
    779  1.1  christos \f\*[B-Font]iburst\f[]
    780  1.1  christos keyword with the
    781  1.1  christos \f\*[B-Font]server\f[]
    782  1.1  christos configuration command.
    783  1.1  christos With this
    784  1.1  christos keyword a volley of messages are exchanged to groom the data and
    785  1.1  christos the clock is set in about 10 s.
    786  1.1  christos If nothing is heard after a
    787  1.1  christos couple of minutes, the daemon times out and exits.
    788  1.1  christos After a suitable
    789  1.1  christos period of mourning, the
    790  1.1  christos \fCntpdate\fR(1ntpdatemdoc)\f[]
    791  1.1  christos program may be
    792  1.1  christos retired.
    793  1.1  christos .sp \n(Ppu
    794  1.1  christos .ne 2
    795  1.1  christos 
    796  1.1  christos When kernel support is available to discipline the clock
    797  1.1  christos frequency, which is the case for stock Solaris, Tru64, Linux and
    798  1.1  christos FreeBSD,
    799  1.1  christos a useful feature is available to discipline the clock
    800  1.1  christos frequency.
    801  1.1  christos First,
    802  1.1  christos \f\*[B-Font]ntpd\fP
    803  1.1  christos is run in continuous mode with
    804  1.1  christos selected servers in order to measure and record the intrinsic clock
    805  1.1  christos frequency offset in the frequency file.
    806  1.1  christos It may take some hours for
    807  1.1  christos the frequency and offset to settle down.
    808  1.1  christos Then the
    809  1.1  christos \f\*[B-Font]ntpd\fP
    810  1.1  christos is
    811  1.1  christos stopped and run in one-time mode as required.
    812  1.1  christos At each startup, the
    813  1.1  christos frequency is read from the file and initializes the kernel
    814  1.1  christos frequency.
    815  1.1  christos .SS "Poll Interval Control"
    816  1.1  christos This version of NTP includes an intricate state machine to
    817  1.1  christos reduce the network load while maintaining a quality of
    818  1.1  christos synchronization consistent with the observed jitter and wander.
    819  1.1  christos There are a number of ways to tailor the operation in order enhance
    820  1.1  christos accuracy by reducing the interval or to reduce network overhead by
    821  1.1  christos increasing it.
    822  1.1  christos However, the user is advised to carefully consider
    823  1.1  christos the consequences of changing the poll adjustment range from the
    824  1.1  christos default minimum of 64 s to the default maximum of 1,024 s.
    825  1.1  christos The
    826  1.1  christos default minimum can be changed with the
    827  1.1  christos \f\*[B-Font]tinker\f[]
    828  1.1  christos \f\*[B-Font]minpoll\f[]
    829  1.1  christos command to a value not less than 16 s.
    830  1.1  christos This value is used for all
    831  1.1  christos configured associations, unless overridden by the
    832  1.1  christos \f\*[B-Font]minpoll\f[]
    833  1.1  christos option on the configuration command.
    834  1.1  christos Note that most device drivers
    835  1.1  christos will not operate properly if the poll interval is less than 64 s
    836  1.1  christos and that the broadcast server and manycast client associations will
    837  1.1  christos also use the default, unless overridden.
    838  1.1  christos .sp \n(Ppu
    839  1.1  christos .ne 2
    840  1.1  christos 
    841  1.1  christos In some cases involving dial up or toll services, it may be
    842  1.1  christos useful to increase the minimum interval to a few tens of minutes
    843  1.1  christos and maximum interval to a day or so.
    844  1.1  christos Under normal operation
    845  1.1  christos conditions, once the clock discipline loop has stabilized the
    846  1.1  christos interval will be increased in steps from the minimum to the
    847  1.1  christos maximum.
    848  1.1  christos However, this assumes the intrinsic clock frequency error
    849  1.1  christos is small enough for the discipline loop correct it.
    850  1.1  christos The capture
    851  1.1  christos range of the loop is 500 PPM at an interval of 64s decreasing by a
    852  1.1  christos factor of two for each doubling of interval.
    853  1.1  christos At a minimum of 1,024
    854  1.1  christos s, for example, the capture range is only 31 PPM.
    855  1.1  christos If the intrinsic
    856  1.1  christos error is greater than this, the drift file
    857  1.1  christos \fIntp.drift\f[]
    858  1.1  christos will
    859  1.1  christos have to be specially tailored to reduce the residual error below
    860  1.1  christos this limit.
    861  1.1  christos Once this is done, the drift file is automatically
    862  1.1  christos updated once per hour and is available to initialize the frequency
    863  1.1  christos on subsequent daemon restarts.
    864  1.1  christos .SS "The huff-n'-puff Filter"
    865  1.1  christos In scenarios where a considerable amount of data are to be
    866  1.1  christos downloaded or uploaded over telephone modems, timekeeping quality
    867  1.1  christos can be seriously degraded.
    868  1.1  christos This occurs because the differential
    869  1.1  christos delays on the two directions of transmission can be quite large.
    870  1.1  christos In
    871  1.1  christos many cases the apparent time errors are so large as to exceed the
    872  1.1  christos step threshold and a step correction can occur during and after the
    873  1.1  christos data transfer is in progress.
    874  1.1  christos .sp \n(Ppu
    875  1.1  christos .ne 2
    876  1.1  christos 
    877  1.1  christos The huff-n'-puff filter is designed to correct the apparent time
    878  1.1  christos offset in these cases.
    879  1.1  christos It depends on knowledge of the propagation
    880  1.1  christos delay when no other traffic is present.
    881  1.1  christos In common scenarios this
    882  1.1  christos occurs during other than work hours.
    883  1.1  christos The filter maintains a shift
    884  1.1  christos register that remembers the minimum delay over the most recent
    885  1.1  christos interval measured usually in hours.
    886  1.1  christos Under conditions of severe
    887  1.1  christos delay, the filter corrects the apparent offset using the sign of
    888  1.1  christos the offset and the difference between the apparent delay and
    889  1.1  christos minimum delay.
    890  1.1  christos The name of the filter reflects the negative (huff)
    891  1.1  christos and positive (puff) correction, which depends on the sign of the
    892  1.1  christos offset.
    893  1.1  christos .sp \n(Ppu
    894  1.1  christos .ne 2
    895  1.1  christos 
    896  1.1  christos The filter is activated by the
    897  1.1  christos \f\*[B-Font]tinker\f[]
    898  1.1  christos command and
    899  1.1  christos \f\*[B-Font]huffpuff\f[]
    900  1.1  christos keyword, as described in
    901  1.1  christos \fCntp.conf\fR(5)\f[].
    902  1.1  christos .SH "ENVIRONMENT"
    903  1.1  christos See \fBOPTION PRESETS\fP for configuration environment variables.
    904  1.1  christos .SH FILES
    905  1.1  christos .TP 15
    906  1.1  christos .NOP \fI/etc/ntp.conf\f[]
    907  1.1  christos the default name of the configuration file
    908  1.1  christos .br
    909  1.1  christos .ns
    910  1.1  christos .TP 15
    911  1.1  christos .NOP \fI/etc/ntp.drift\f[]
    912  1.1  christos the default name of the drift file
    913  1.1  christos .br
    914  1.1  christos .ns
    915  1.1  christos .TP 15
    916  1.1  christos .NOP \fI/etc/ntp.keys\f[]
    917  1.1  christos the default name of the key file
    918  1.1  christos .PP
    919  1.1  christos .SH "EXIT STATUS"
    920  1.1  christos One of the following exit values will be returned:
    921  1.1  christos .TP
    922  1.1  christos .NOP 0 " (EXIT_SUCCESS)"
    923  1.1  christos Successful program execution.
    924  1.1  christos .TP
    925  1.1  christos .NOP 1 " (EXIT_FAILURE)"
    926  1.1  christos The operation failed or the command syntax was not valid.
    927  1.1  christos .TP
    928  1.1  christos .NOP 70 " (EX_SOFTWARE)"
    929  1.1  christos libopts had an internal operational error.  Please report
    930  1.1  christos it to autogen-users (a] lists.sourceforge.net.  Thank you.
    931  1.1  christos .PP
    932  1.1  christos .SH "SEE ALSO"
    933  1.1  christos \fCntp.conf\fR(5)\f[],
    934  1.1  christos \fCntpdate\fR(1ntpdatemdoc)\f[],
    935  1.1  christos \fCntpdc\fR(1ntpdcmdoc)\f[],
    936  1.1  christos \fCntpq\fR(1ntpqmdoc)\f[]
    937  1.1  christos .sp \n(Ppu
    938  1.1  christos .ne 2
    939  1.1  christos 
    940  1.1  christos In addition to the manual pages provided,
    941  1.1  christos comprehensive documentation is available on the world wide web
    942  1.1  christos at
    943  1.1  christos \f[C]http://www.ntp.org/\f[].
    944  1.1  christos A snapshot of this documentation is available in HTML format in
    945  1.1  christos \fI/usr/share/doc/ntp\f[].
    946  1.1  christos David L. Mills,
    947  1.1  christos \fINetwork Time Protocol (Version 1)\fR,
    948  1.1  christos RFC1059
    949  1.1  christos .PP
    950  1.1  christos 
    951  1.1  christos David L. Mills,
    952  1.1  christos \fINetwork Time Protocol (Version 2)\fR,
    953  1.1  christos RFC1119
    954  1.1  christos .PP
    955  1.1  christos 
    956  1.1  christos David L. Mills,
    957  1.1  christos \fINetwork Time Protocol (Version 3)\fR,
    958  1.1  christos RFC1305
    959  1.1  christos .PP
    960  1.1  christos 
    961  1.1  christos David L. Mills and J. Martin, Ed. and J. Burbank and W. Kasch,
    962  1.1  christos \fINetwork Time Protocol Version 4: Protocol and Algorithms Specification\fR,
    963  1.1  christos RFC5905
    964  1.1  christos .PP
    965  1.1  christos 
    966  1.1  christos David L. Mills and B. Haberman, Ed.,
    967  1.1  christos \fINetwork Time Protocol Version 4: Autokey Specification\fR,
    968  1.1  christos RFC5906
    969  1.1  christos .PP
    970  1.1  christos 
    971  1.1  christos H. Gerstung and C. Elliott and B. Haberman, Ed.,
    972  1.1  christos \fIDefinitions of Managed Objects for Network Time Protocol Version 4: (NTPv4)\fR,
    973  1.1  christos RFC5907
    974  1.1  christos .PP
    975  1.1  christos 
    976  1.1  christos R. Gayraud and B. Lourdelet,
    977  1.1  christos \fINetwork Time Protocol (NTP) Server Option for DHCPv6\fR,
    978  1.1  christos RFC5908
    979  1.1  christos .PP
    980  1.1  christos 
    981  1.1  christos .SH "AUTHORS"
    982  1.1  christos The University of Delaware
    983  1.1  christos .SH "COPYRIGHT"
    984  1.1  christos Copyright (C) 1970-2013 The University of Delaware all rights reserved.
    985  1.1  christos This program is released under the terms of the NTP license, <http://ntp.org/license>.
    986  1.1  christos .SH BUGS
    987  1.1  christos The
    988  1.1  christos \f\*[B-Font]ntpd\fP
    989  1.1  christos utility has gotten rather fat.
    990  1.1  christos While not huge, it has gotten
    991  1.1  christos larger than might be desirable for an elevated-priority
    992  1.1  christos \f\*[B-Font]ntpd\fP
    993  1.1  christos running on a workstation, particularly since many of
    994  1.1  christos the fancy features which consume the space were designed more with
    995  1.1  christos a busy primary server, rather than a high stratum workstation in
    996  1.1  christos mind.
    997  1.1  christos .sp \n(Ppu
    998  1.1  christos .ne 2
    999  1.1  christos 
   1000  1.1  christos Please send bug reports to: http://bugs.ntp.org, bugs (a] ntp.org
   1001  1.1  christos .SH NOTES
   1002  1.1  christos This document corresponds to version 4.2.7p404 of NTP.
   1003  1.1  christos Portions of this document came from FreeBSD.
   1004  1.1  christos .sp \n(Ppu
   1005  1.1  christos .ne 2
   1006  1.1  christos 
   1007  1.1  christos This manual page was \fIAutoGen\fP-erated from the \fBntpd\fP
   1008  1.1  christos option definitions.
   1009