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
- Subject: Re: [chrony-users] Improvement request: network status should not affect chronyc
- From: "Kevin P. Fleming" <lists.chrony-users@xxxxxxxxxxxxx>
- Date: Tue, 12 Dec 2023 07:10:11 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=km6g.us; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1702383032; x=1702469432; bh=wA916f8bhw lU40tT0K92E3OKzckvaic1zUkh6szVI4o=; b=bZ7y2MFcTKpdYIe0OCJRyRbRj7 p3nbTAX9U5SJiJB19dqiPKMTOqkYcJFTdixwMj2OKWcTshRT+Jixa11vQaaiZjno l9pEfOJhqaNTnSFAvgnb5f05zSUxSPZRrDNicza61lPA4S4jYhRwmof0nAIRve+C 3PGd5SD/5lvGwP/Hl/a+CQNaAjYel1IToqf3q8HAkdxPRGLuwSAi8iBDH6JkPoEc xlBTyHlvH2Vger8FHI9khNLoOE05Lgn6BWEBtZ+9xF0ZE2VJYje9Nxe1rPHUkkBN jYEieUyelDwqn7JK5FFHou30HRhIGj6h2XQlFTd36wTrIQ8MARW0TGLs2ZrQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1702383032; x=1702469432; bh=wA916f8bhwlU40tT0K92E3OKzckv aic1zUkh6szVI4o=; b=WjQwQKzfPte7STS5Z18WUjfNjrkrdH/1o+C6P4CXBPrk pC+lYxgk3L33RlLRb4HK1vX6RuoeOP2qcPiZ7gHJ6eK4p3ttM5u97UT1TzpG5NpK 0mCo8bFJQD+1d/LfSQMOscB/rNA0iXxCxX6qsPTqWIK89z2UIVqLXxzjuBfOIJvD hvQuDxz+y+ONvMOlb6ZrLMKktFQybptLG8dikBj/gqkIceBLATuQq0nShBraeG02 PjZNNLxjzphq0DNUTn46bGynJ9Sd3cZHtRBzmzrzI81Qks0kuHQDOPs28wJqWRCG 7AFXi9WcCh9gF2TD3y3cSEUw/MsHRNpmZNYYm8QsSA==
- Feedback-id: i1309466e:Fastmail
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.