RE: [chrony-users] Improvement request: network status should not affect chronyc |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] Improvement request: network status should not affect chronyc
- From: "Hollerer Franz, Schrack Seconet AG, Entwicklung" <f.hollerer@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Dec 2023 12:22:05 +0000
- Accept-language: de-AT, en-GB, en-US
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=schrack-seconet.com; s=mail; t=1702383760; bh=rymV7cTmIMZQTxM4Q6MB0CT/jPPwP7fBo2rtBlA7Uhk=; h=From:To:Subject:Date:References:In-Reply-To; b=DoPyQtmAH1fQ9nN0HddvmRwisMQDSY0cT15GXztIz9lxOE0kkZOtCAjJrSqrnBQSR c2QMA/Zw6Z53uQwRMylpNkLTGk/QV77RO/3i5UnCECyi/OaMMAVLJGfRXi6UiXxdaO oB7n7hn89nHZLJMODFsyWArI/MX0Fm1h/tbWdlYM=
- Thread-index: Ados86WTMYkLPsAqTrK7R//o3UF0V///8ECA///t1/A=
- Thread-topic: [chrony-users] Improvement request: network status should not affect chronyc
> Have you tried 'chronyc -n sources', to avoid the reverse-DNS lookups?
No, I did not. Thanks for the hint. I was not aware of that. It solves my problem.
Thanks
Franz Hollerer
-----Original Message-----
From: Kevin P. Fleming <lists.chrony-users@xxxxxxxxxxxxx>
Sent: Dienstag, 12. Dezember 2023 13:10
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Improvement request: network status should not affect chronyc
On Tue, Dec 12, 2023, at 07:07, Hollerer Franz, Schrack Seconet AG, Entwicklung wrote:
> I have an improvement request for chronyc, more precisely its sources
> command. I call "chronyc sources" via popen() from a C program to
> determine if the system time can be considered synchronized or not.
>
> Unfortunately, if the network cable is disconnected, it takes about ~
> 15 seconds for "chronyc sources" to complete. The initial connection
> to chronyd takes place immediately, also the header of the commands'
> output is print immediately. But then there is a very long delay till
> the line with the NTP server status is printed.
Have you tried 'chronyc -n sources', to avoid the reverse-DNS lookups?
--
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.
--
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.