partially address #657 ntpq wishlist stats

Sample output at the current time which needs (de)corrected.

jamesb@taos:~/ntpsec$ build/main/ntpclients/ntpq -c sysstats
uptime:                 4051
control requests:       9
sysstats reset:         00:07:31        01:07:31
packets received:              12             371
current version:               10             361
older version:                  0               0
bad length or format:           0               0
authentication failed:          0               0
declined:                       0               0
restricted:                     0               0
rate limited:                   0               0
KoD responses:                  0               0
processed for time:            11             370
jamesb@taos:~/ntpsec$
  1. reset time does not matter to uptime
  2. control requests should properly be part of ctlstats (unimplemented)

Edit: replace test output with newer version.

@hal.murray Does this look good now?

Edited by James Browning

Merge request reports

Loading