6816 shaares
Maybe https://github.com/mdavids/ntptools/blob/main/go/monitor2.go
% ./monitor2 -server any.time.nl -stratum 2
Server: any.time.nl
Result: OK - test successful
Any exit code other than 0 indicates an error.
mengzhuo
2d
I’ve made a tracentp tool that can works for you
./tracentp -c 1 time.nist.gov
OK from time.nist.gov:seq=1 stratum=1 offset=10.87403ms distance=118.379889ms RTT=235.539075ms ref=.NIST.
https://github.com/mengzhuo/tracentp/releases/tag/v1.0.1
Release tracentp 1.0.1 · mengzhuo/tracentp
Changelog a35e0f6 fix releaser