Re: [chrony-users] Requests per second |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Requests per second
- From: Sviatoslav Feshchenko <sviatoslav.feshchenko@xxxxxxxxx>
- Date: Mon, 11 Aug 2025 15:28:04 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1754926088; x=1755185288; bh=Y2/R83RwO/+k9L+L4S+ZO2SqvVgAqj0krglgc9l/SP4=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Lv3P5JFednowzAXhRYPp/pHAzoNfi7P4s4U4AqgEbn06V7g9iHJCGyCpczqms6cOj xbOClVVb1oyl2cMj2aJa/rTC6Xx2fgbXrD0+CoMI0UMSa4RybeSdZ2990aLZHb4Huf od8G8iRmEJTfWwig8SYEPPWLfkcLEevMPhRXlhA5CoGebx72Mfws8LdIW2tmD5gpEU 4PF+KdneKTD707U5s26mW7bcKKIFH9geVImL3vdy8KePpz6/PbA7rjWXKSDrLqTpXe cZq5hw5b0v8C0/0LWaTXMGOcph/N64tTQzZZLI0zr/0+auaWUXd66CCqD2W+0Mvf0s n19k5Ag03N+eg==
- Feedback-id: 45472054:user:proton
Thank you for the info!
On Monday, August 11th, 2025 at 6:18 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> On Sun, Aug 10, 2025 at 12:45:01AM +0000, Sviatoslav Feshchenko wrote:
>
> > My server, running chrony 4.3, is part of the NTP Pool Project. Is there a way to determine how many requests per second it is receiving or responding to on average?
>
>
> By observing the difference in values reported by chronyc serverstats
> over the interval you want the average apply to. For example, this
> shell script would print averages over one-minute intervals:
>
> while chronyc -c serverstats; do sleep 60; done | \
> awk -F , '{if (l>0) print ($1-l)/60; l=$1}'
>
> > It would seem logical to have this statistic displayed as part of "serverstats" command to chronyc. Is that something that can be implemented easily?
>
>
> No, not easily. If the reported averages should be accurate, chronyd
> would need to save the counters in a queue.
>
> This is better done externally by tools specialized in processing time
> series data like rrdtool.
>
> --
> 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.
--
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.