Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 12 Dec 2019 16:28:35 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576164520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5o9zj6uk7qZgLJACGNsPFoRe7e0s/TXl6SDAg0KZ8H8=; b=Quw6wk7Qe3MlJ+jlJ8Fp4TjSpacWWdgmtyZFqJ9nZamSisHnsc1hLb8dwJFNMtgGb22UlQ B1oa4WsEaxQgWeOaXvps7qNuMcHhkynJi5jnzbFJAOyJHzzQvnWmbgdu1v9uD2yrPMOCZp q39hyEnb7qdhCMIl1ektqPG9S/vhNLA=
On Wed, Nov 13, 2019 at 07:54:32PM +0000, Kohr, Alexander wrote:
> I have run into what I consider confusing operation/a bug of chronyc for the server name results it returns. When I run chronyc sourcestats or chronyc sources the "Name/IP address" field doesn't always list the hostname/s that are entered into my chrony.conf file.
The latest code in git now has a -N option to print the original
names. For example, the output of the sources command for a pool
specified as "pool pool.ntp.org" is:
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? pool.ntp.org 2 6 3 16 -2854us[-2854us] +/- 82ms
^? pool.ntp.org 2 6 3 16 +1349us[+1349us] +/- 94ms
^? pool.ntp.org 2 6 3 16 +4623us[+4623us] +/- 88ms
^? pool.ntp.org 2 6 3 16 -1952us[-1952us] +/- 70ms
There is also a separate "sourcename" command to get the original
name.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.