summaryrefslogtreecommitdiff
path: root/sntp/sntp.html
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/sntp.html')
-rw-r--r--sntp/sntp.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/sntp/sntp.html b/sntp/sntp.html
index 1606920..5b41a7f 100644
--- a/sntp/sntp.html
+++ b/sntp/sntp.html
@@ -36,7 +36,7 @@ display the time offset of the system clock relative to the server
clock. Run as root, it can correct the system clock to this offset as
well. It can be run as an interactive command or from a cron job.
- <p>This document applies to version 4.2.7p482 of <code>sntp</code>.
+ <p>This document applies to version 4.2.8p2 of <code>sntp</code>.
<p>The program implements the SNTP protocol as defined by RFC 5905, the NTPv4
IETF specification.
@@ -127,7 +127,8 @@ Otherwise, only the
is displayed.
Finally, the
<em>stratum</em>
-of the host is reported.
+of the host is reported
+and the leap indicator is decoded and displayed.
<p>This section was generated by <strong>AutoGen</strong>,
using the <code>agtexi-cmd</code> template and the option descriptions for the <code>sntp</code> program.
@@ -175,7 +176,7 @@ the usage text by passing it through a pager program.
used to select the program, defaulting to <span class="file">more</span>. Both will exit
with a status code of 0.
-<pre class="example">sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p482
+<pre class="example">sntp - standard Simple Network Time Protocol client program - Ver. 4.2.8p2
Usage: sntp [ -&lt;flag&gt; [&lt;val&gt;] | --&lt;name&gt;[{=| }&lt;val&gt;] ]... \
[ hostname-or-IP ...]
Flg Arg Option-Name Description
@@ -368,7 +369,8 @@ Up:&nbsp;<a rel="up" accesskey="u" href="#sntp-Invocation">sntp Invocation</a>
This is the &ldquo;kod history filename&rdquo; option.
This option takes a file argument <span class="file">file-name</span>.
Specifies the filename to be used for the persistent history of KoD
-responses received from servers.
+responses received from servers. If the file does not exist, a
+warning message will be displayed. The file will not be created.
<div class="node">
<p><hr>
<a name="sntp-keyfile"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#sntp-logfile">sntp logfile</a>,
@@ -416,7 +418,9 @@ This is the &ldquo;adjustments less than <var>steplimit</var> msec will be slewe
This option takes a number argument.
If the time adjustment is less than <span class="file">steplimit</span> milliseconds,
slew the amount using <span class="command">adjtime(2)</span>. Otherwise, step the
-correction using <span class="command">settimeofday(2)</span>.
+correction using <span class="command">settimeofday(2)</span>. The default value is 0,
+which means all adjustments will be stepped. This is a feature, as
+different situations demand different values.
<div class="node">
<p><hr>
<a name="sntp-ntpversion"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#sntp-usereservedport">sntp usereservedport</a>,