@ -1,4 +1,4 @@
.\" $OpenBSD: ntpctl.8,v 1.7 2015/02/10 06:40:08 reyk Exp $
.\" $OpenBSD: ntpctl.8,v 1.8 2015/03/11 19:38:48 jmc Exp $
.\"
.\"
.\" Copyright (c) 2012 Mike Miller <mmiller@mgm51.com>
.\" Copyright (c) 2012 Mike Miller <mmiller@mgm51.com>
.\"
.\"
@ -14,7 +14,7 @@
.\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
.\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
.Dd $Mdocdate: February 10 2015 $
.Dd $Mdocdate: March 11 2015 $
.Dt NTPCTL 8
.Dt NTPCTL 8
.Os
.Os
.Sh NAME
.Sh NAME
@ -22,7 +22,7 @@
.Nd control the Network Time Protocol daemon
.Nd control the Network Time Protocol daemon
.Sh SYNOPSIS
.Sh SYNOPSIS
.Nm ntpctl
.Nm ntpctl
.Op Fl s Cm all | peers | Sensors | status
.Fl s Cm all | peers | Sensors | status
.Sh DESCRIPTION
.Sh DESCRIPTION
The
The
.Nm
.Nm
@ -30,24 +30,31 @@ program displays information about the running
.Xr ntpd 8
.Xr ntpd 8
daemon.
daemon.
.Pp
.Pp
The options (which may be abbreviated) are as follows:
The options are as follows:
.Bl -tag -width "-s modifierX"
.Bl -tag -width "-s modifierX"
.It Fl s Cm all
Show all data.
.It Fl s Cm peers
Show the following information about each peer: weight, trustlevel,
.It Fl s Cm all | peers | Sensors | status
Used to display information about the running daemon.
Keywords may be abbreviated.
.Pp
.Cm all
shows all data available.
.Pp
.Cm peers
shows the following information about each peer: weight, trustlevel,
stratum, number of seconds until the next poll, polling interval
stratum, number of seconds until the next poll, polling interval
in seconds, and offset, network delay and network jitter in milliseconds.
in seconds, and offset, network delay and network jitter in milliseconds.
When the system clock is synced to a peer, an asterisk
When the system clock is synced to a peer, an asterisk
is displayed to the left of the weight column for that peer.
is displayed to the left of the weight column for that peer.
.It Fl s Cm Sensors
Show the following information about each sensor: weight, sensor "good"
.Pp
.Cm Sensors
shows the following information about each sensor: weight, sensor "good"
status, stratum, and offset and the configured correction in
status, stratum, and offset and the configured correction in
milliseconds.
milliseconds.
When the system clock is synced to a sensor, an asterisk
When the system clock is synced to a sensor, an asterisk
is displayed to the left of the weight column for that sensor.
is displayed to the left of the weight column for that sensor.
.It Fl s Cm status
Show the status of peers and sensors, and whether the system clock is synced.
.Pp
.Cm status
shows the status of peers and sensors, and whether the system clock is synced.
When the system clock is synced, the stratum is displayed.
When the system clock is synced, the stratum is displayed.
When the system clock is not synced, the offset of the system clock,
When the system clock is not synced, the offset of the system clock,
as reported by the
as reported by the