Deleted Added
full compact
ntpdate.html (302408) ntpdate.html (338530)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5<meta name="generator" content="HTML Tidy, see www.w3.org">
6<title>ntpdate - set the date and time via NTP</title>
7<link href="scripts/style.css" type="text/css" rel="stylesheet">
8</head>
9<body>
10<h3><tt>ntpdate</tt> - set the date and time via NTP</h3>
11<img src="pic/rabbit.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a>
12<p>I told you it was eyeball and wristwatch.</p>
13<p>Last update:
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5<meta name="generator" content="HTML Tidy, see www.w3.org">
6<title>ntpdate - set the date and time via NTP</title>
7<link href="scripts/style.css" type="text/css" rel="stylesheet">
8</head>
9<body>
10<h3><tt>ntpdate</tt> - set the date and time via NTP</h3>
11<img src="pic/rabbit.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a>
12<p>I told you it was eyeball and wristwatch.</p>
13<p>Last update:
14 <!-- #BeginDate format:En2m -->9-Feb-2014 03:34<!-- #EndDate -->
14 <!-- #BeginDate format:En2m -->21-Jul-2018 04:09<!-- #EndDate -->
15 UTC</p>
16<br clear="left">
17<hr>
18<p>Disclaimer: This program has known bugs and deficiencies and nobody
19has volunteered to fix them in a long time. The good news is the
20functionality originally intended for this program is available in the <tt>ntpd</tt> and
21<tt>sntp</tt> programs. See the <a
22href="http://support.ntp.org/Dev/DeprecatingNtpdate">Deprecating

--- 35 unchanged lines hidden (view full) ---

58 <i>version</i>, which can be 1, 2, 3 or 4. The default is 4. This allows <tt>ntpdate</tt> to be used with older NTP versions.</dd>
59 <dt><tt>-p <i>samples</i></tt></dt>
60 <dd>Specify the number of samples to be acquired from each server as the integer <i>samples</i>, with values from 1 to 8 inclusive. The default is 4.</dd>
61 <dt><i><tt>-q</tt></i></dt>
62 <dd>Query only - don't set the clock.</dd>
63 <dt><tt>-s</tt></dt>
64 <dd>Divert logging output from the standard output (default) to the system <tt>syslog</tt> facility. This is designed primarily for convenience of <tt>cron</tt> scripts.</dd>
65 <dt><tt>-t <i>timeout</i></tt></dt>
15 UTC</p>
16<br clear="left">
17<hr>
18<p>Disclaimer: This program has known bugs and deficiencies and nobody
19has volunteered to fix them in a long time. The good news is the
20functionality originally intended for this program is available in the <tt>ntpd</tt> and
21<tt>sntp</tt> programs. See the <a
22href="http://support.ntp.org/Dev/DeprecatingNtpdate">Deprecating

--- 35 unchanged lines hidden (view full) ---

58 <i>version</i>, which can be 1, 2, 3 or 4. The default is 4. This allows <tt>ntpdate</tt> to be used with older NTP versions.</dd>
59 <dt><tt>-p <i>samples</i></tt></dt>
60 <dd>Specify the number of samples to be acquired from each server as the integer <i>samples</i>, with values from 1 to 8 inclusive. The default is 4.</dd>
61 <dt><i><tt>-q</tt></i></dt>
62 <dd>Query only - don't set the clock.</dd>
63 <dt><tt>-s</tt></dt>
64 <dd>Divert logging output from the standard output (default) to the system <tt>syslog</tt> facility. This is designed primarily for convenience of <tt>cron</tt> scripts.</dd>
65 <dt><tt>-t <i>timeout</i></tt></dt>
66 <dd>Specify the maximum time waiting for a server response as the value <i>timeout</i>, in seconds and fraction. The value is is rounded to a multiple of 0.2 seconds. The default is 1 second, a value suitable for polling across a LAN.</dd>
66 <dd>Specify the maximum time waiting for a server response as the value <i>timeout</i>, in seconds and fraction. The value is is rounded to a multiple of 0.2 seconds. The default is 2 seconds, a value suitable for polling across a LAN.</dd>
67 <dt><tt>-u</tt></dt>
68 <dd>Direct <tt>ntpdate</tt> to use an unprivileged port for outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond the firewall. Note that the <tt>-d</tt> option always uses unprivileged ports.
69 <dt><tt>-<i>v</i></tt></dt>
70 <dd>Be verbose. This option will cause <tt>ntpdate</tt>'s version identification string to be logged.</dd>
71</dl>
72<h4>Diagnostics</h4>
73<tt>ntpdate</tt>'s exit status is zero if it finds a server and updates the clock, and nonzero otherwise.
74<h4>Files</h4>
75<tt>/etc/ntp.keys</tt> - encryption keys used by <tt>ntpdate</tt>.
76<h4>Bugs</h4>
77The slew adjustment is actually 50% larger than the measured offset, since this (it is argued) will tend to keep a badly drifting clock more accurate. This is probably not a good idea and may cause a troubling hunt for some values of the kernel variables <tt>tick</tt> and <tt>tickadj</tt>.&nbsp;
78<hr>
79<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
80</body>
81</html>
67 <dt><tt>-u</tt></dt>
68 <dd>Direct <tt>ntpdate</tt> to use an unprivileged port for outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond the firewall. Note that the <tt>-d</tt> option always uses unprivileged ports.
69 <dt><tt>-<i>v</i></tt></dt>
70 <dd>Be verbose. This option will cause <tt>ntpdate</tt>'s version identification string to be logged.</dd>
71</dl>
72<h4>Diagnostics</h4>
73<tt>ntpdate</tt>'s exit status is zero if it finds a server and updates the clock, and nonzero otherwise.
74<h4>Files</h4>
75<tt>/etc/ntp.keys</tt> - encryption keys used by <tt>ntpdate</tt>.
76<h4>Bugs</h4>
77The slew adjustment is actually 50% larger than the measured offset, since this (it is argued) will tend to keep a badly drifting clock more accurate. This is probably not a good idea and may cause a troubling hunt for some values of the kernel variables <tt>tick</tt> and <tt>tickadj</tt>.&nbsp;
78<hr>
79<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
80</body>
81</html>