I think that both produce good results only with the difference if you really want to control the time for every few minutes, and then go with the second option ... ntpq has various options for monitoring the entire Ntp synchronization process ... ntpq> pe will provide you will see the status of all configured peers, ntpq>, as well as provide all additional information about each individual peer, and ntpq> rv will provide a complete synopsis about each partner ... There are other internal commands for debugging your ntp process via ntpq, itโs worth reading the following If you need further clarification: http://doc.ntp.org/4.1.1/ntpq.htm
For the first option, this is a statistics report that you can leave on your ntp to continue to generate and update, as indicated in the ntp.conf file, i.e. Do you want it to be created per day or week, etc ...
Loopstats will show you the date, time, frequency and time offset, jitter, time constant in the timeline, etc. Peerstats will inform you of all your peers, where they are represented and configured. Clockstats report the status of the clock driver
In addition, rawstats and sysstats options are available. You can also check your system logs and redirect them to your own Ntp logs via the ntp.conf file.
you can go through the monitoring section in the link mentioned above and learn more about how to configure ntpstats
Hope this helps you a bit!
source share