mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 12:55:07 -05:00
client: add sourcename command
Add a new command to print the original name of a source specified by address. This could be useful in scripts to avoid having to run the sources command with and without -N.
This commit is contained in:
@@ -761,6 +761,15 @@ Sources that stop responding will be replaced with newly resolved addresses
|
||||
automatically after 8 polling intervals, but this command can still be useful
|
||||
to replace them immediately and not wait until they are marked as unreachable.
|
||||
|
||||
[[sourcename]]*sourcename* _address_::
|
||||
The *sourcename* command prints the original hostname or address that was
|
||||
specified for an NTP source in the configuration file, or the *add* command.
|
||||
This command is an alternative to the *-N* option, which can be useful in
|
||||
scripts.
|
||||
+
|
||||
Note that different NTP sources can share the same name, e.g. servers from a
|
||||
pool.
|
||||
|
||||
=== Manual time input
|
||||
|
||||
[[manual]]
|
||||
|
||||
Reference in New Issue
Block a user