doc: improve description of chronyc -h option
This commit is contained in:
parent
beb1c36136
commit
5b04f3ca90
1 changed files with 8 additions and 5 deletions
|
@ -99,12 +99,15 @@ With this option multiple commands can be specified. Each argument will be
|
||||||
interpreted as a whole command.
|
interpreted as a whole command.
|
||||||
|
|
||||||
*-h* _host_::
|
*-h* _host_::
|
||||||
This option allows the user to specify which host (or comma-separated list of
|
This option specifies the host to be contacted by *chronyc*. It can be
|
||||||
addresses) running the *chronyd* program is to be contacted. This allows for
|
specified with a hostname, IP address, or path to the local Unix domain socket.
|
||||||
remote monitoring, without having to connect over SSH to the other host first.
|
Multiple values can be specified as a comma-separated list to provide a
|
||||||
|
fallback.
|
||||||
+
|
+
|
||||||
The default is to contact *chronyd* running on the same host where
|
The default value is _@CHRONYRUNDIR@/chronyd.sock,127.0.0.1,::1_, i.e. the host
|
||||||
*chronyc* is being run.
|
where *chronyc* is being run. First, it tries to connect to the Unix domain
|
||||||
|
socket and if that fails (e.g. due to running under a non-root user), it
|
||||||
|
will try to connect to 127.0.0.1 and then ::1.
|
||||||
|
|
||||||
*-p* _port_::
|
*-p* _port_::
|
||||||
This option allows the user to specify the UDP port number which the target
|
This option allows the user to specify the UDP port number which the target
|
||||||
|
|
Loading…
Reference in a new issue