Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/ntp/ntpq/ntpq.html
Show All 38 Lines | |||||
<h2 class="unnumbered">ntpq: Network Time Protocol Query User Manual</h2> | <h2 class="unnumbered">ntpq: Network Time Protocol Query User Manual</h2> | ||||
<p>The <code>ntpq</code> utility program is used to | <p>The <code>ntpq</code> utility program is used to | ||||
monitor the operational status | monitor the operational status | ||||
and determine the performance of | and determine the performance of | ||||
<code>ntpd</code>, the NTP daemon. | <code>ntpd</code>, the NTP daemon. | ||||
<p>This document applies to version 4.2.8p4 of <code>ntpq</code>. | <p>This document applies to version 4.2.8p5 of <code>ntpq</code>. | ||||
<ul class="menu"> | <ul class="menu"> | ||||
<li><a accesskey="1" href="#ntpq-Description">ntpq Description</a> | <li><a accesskey="1" href="#ntpq-Description">ntpq Description</a> | ||||
<li><a accesskey="2" href="#ntpq-Invocation">ntpq Invocation</a>: Invoking ntpq | <li><a accesskey="2" href="#ntpq-Invocation">ntpq Invocation</a>: Invoking ntpq | ||||
<li><a accesskey="3" href="#Usage">Usage</a> | <li><a accesskey="3" href="#Usage">Usage</a> | ||||
<li><a accesskey="4" href="#Internal-Commands">Internal Commands</a> | <li><a accesskey="4" href="#Internal-Commands">Internal Commands</a> | ||||
<li><a accesskey="5" href="#Control-Message-Commands">Control Message Commands</a> | <li><a accesskey="5" href="#Control-Message-Commands">Control Message Commands</a> | ||||
<li><a accesskey="6" href="#Status-Words-and-Kiss-Codes">Status Words and Kiss Codes</a> | <li><a accesskey="6" href="#Status-Words-and-Kiss-Codes">Status Words and Kiss Codes</a> | ||||
▲ Show 20 Lines • Show All 708 Lines • ▼ Show 20 Lines | This is the automatically generated usage text for ntpq. | ||||
<p>The text printed is the same whether selected with the <code>help</code> option | <p>The text printed is the same whether selected with the <code>help</code> option | ||||
(<span class="option">--help</span>) or the <code>more-help</code> option (<span class="option">--more-help</span>). <code>more-help</code> will print | (<span class="option">--help</span>) or the <code>more-help</code> option (<span class="option">--more-help</span>). <code>more-help</code> will print | ||||
the usage text by passing it through a pager program. | the usage text by passing it through a pager program. | ||||
<code>more-help</code> is disabled on platforms without a working | <code>more-help</code> is disabled on platforms without a working | ||||
<code>fork(2)</code> function. The <code>PAGER</code> environment variable is | <code>fork(2)</code> function. The <code>PAGER</code> environment variable is | ||||
used to select the program, defaulting to <span class="file">more</span>. Both will exit | used to select the program, defaulting to <span class="file">more</span>. Both will exit | ||||
with a status code of 0. | with a status code of 0. | ||||
<pre class="example">ntpq - standard NTP query program - Ver. 4.2.8p4-sec-RC2 | <pre class="example">ntpq - standard NTP query program - Ver. 4.2.8p4 | ||||
Usage: ntpq [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...] | Usage: ntpq [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...] | ||||
Flg Arg Option-Name Description | Flg Arg Option-Name Description | ||||
-4 no ipv4 Force IPv4 DNS name resolution | -4 no ipv4 Force IPv4 DNS name resolution | ||||
- prohibits the option 'ipv6' | - prohibits the option 'ipv6' | ||||
-6 no ipv6 Force IPv6 DNS name resolution | -6 no ipv6 Force IPv6 DNS name resolution | ||||
- prohibits the option 'ipv4' | - prohibits the option 'ipv4' | ||||
-c Str command run a command and exit | -c Str command run a command and exit | ||||
- may appear multiple times | - may appear multiple times | ||||
▲ Show 20 Lines • Show All 1,044 Lines • Show Last 20 Lines |