|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: ntpctl.8,v 1.4 2013/10/16 21:23:59 jmc Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: ntpctl.8,v 1.5 2014/01/10 22:54:12 deraadt 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: October 16 2013 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: January 10 2014 $ |
|
|
.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 Ar modifier |
|
|
|
|
|
|
|
|
.Op Fl s Cm all | peers | sensors | status |
|
|
.Sh DESCRIPTION |
|
|
.Sh DESCRIPTION |
|
|
The |
|
|
The |
|
|
.Nm |
|
|
.Nm |
|
@ -32,25 +32,21 @@ daemon. |
|
|
.Pp |
|
|
.Pp |
|
|
The options are as follows: |
|
|
The options are as follows: |
|
|
.Bl -tag -width "-s modifierX" |
|
|
.Bl -tag -width "-s modifierX" |
|
|
.It Fl s Ar modifier |
|
|
|
|
|
Show the data specified by |
|
|
|
|
|
.Ar modifier : |
|
|
|
|
|
.Bl -tag -width "sensorsXXX" |
|
|
|
|
|
.It Cm all |
|
|
|
|
|
|
|
|
.It Fl s Cm all |
|
|
Show all data. |
|
|
Show all data. |
|
|
.It Cm peers |
|
|
|
|
|
|
|
|
.It Fl s Cm peers |
|
|
Show the following information about each peer: weight, trustlevel, |
|
|
Show 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 Cm sensors |
|
|
|
|
|
|
|
|
.It Fl s Cm sensors |
|
|
Show the following information about each sensor: weight, sensor "good" |
|
|
Show 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 Cm status |
|
|
|
|
|
|
|
|
.It Fl s Cm status |
|
|
Show the status of peers and sensors, and whether the system clock is synced. |
|
|
Show 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, |
|
@ -58,7 +54,6 @@ as reported by the |
|
|
.Xr adjtime 2 |
|
|
.Xr adjtime 2 |
|
|
system call, is displayed. |
|
|
system call, is displayed. |
|
|
.El |
|
|
.El |
|
|
.El |
|
|
|
|
|
.Sh FILES |
|
|
.Sh FILES |
|
|
.Bl -tag -width "/var/run/ntpd.sockXXX" -compact |
|
|
.Bl -tag -width "/var/run/ntpd.sockXXX" -compact |
|
|
.It Pa /var/run/ntpd.sock |
|
|
.It Pa /var/run/ntpd.sock |
|
|