[ntp:questions] Re: Meanings of states from ntpq -c rv

David L. Mills mills at udel.edu
Fri Jan 20 19:01:35 UTC 2006


Joel,

1. The procedures and algorithms briefing and related briefings on the 
NTP project page.
2. The ntpq documentation.
3. The rfc-1305 Appendix B.

Dave

Joel Shellman wrote:

> What are the meanings of the states 1, 2, 3, 4 in the
> output of ntpq -c rv?
> 
> Also, is there an easy reference to all the vars that
> come back from ntpq -c rv and ntpq -c"rv [assocId]"
> 
> I'm working on a little monitor script with strict
> guidelines of ensuring the client is in sync with the
> server.
> 
> So far, I think that if state != 4 or reach & 1 != 1
> then I can flag an error, but I notice it drops into
> state 2 sometimes and wanted to understand that
> better.
> 
> Also, I'm trying to figure out how best to deal with
> the ramp up until it gets to 4 (which it might not
> ever and so I need to flag an error at some point--but
> when?)
> 
> Thanks,
> 
> -joel
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
> 




More information about the questions mailing list