mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 12:45:06 -05:00
cmdmon: allow client records to be reset
Add a flag to the CLIENT_ACCESSES_BY_INDEX request to reset the NTP/cmdmon hits/dropped counters after reporting the current values. Add -r option to the chronyc clients command to perform the reset. This should make it easier to find clients that send large number of requests over short periods of time.
This commit is contained in:
@@ -954,10 +954,13 @@ This command can be used to examine the effect of a series of *allow*, *allow
|
||||
all*, *deny*, and *deny all* commands specified either via *chronyc*, or in
|
||||
*chronyd*'s configuration file.
|
||||
|
||||
[[clients]]*clients*::
|
||||
[[clients]]*clients* [*-r*]::
|
||||
This command shows a list of clients that have accessed the server, through
|
||||
either the NTP or command ports. It does not include accesses over
|
||||
the Unix domain command socket. There are no arguments.
|
||||
the Unix domain command socket.
|
||||
+
|
||||
If the *-r* option is specified, *chronyd* will reset the counters of received
|
||||
and dropped packets after reporting the current values.
|
||||
+
|
||||
An example of the output is:
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user