[ntp:questions] Meanings of states from ntpq -c rv
Joel Shellman
joelshellman at yahoo.com
Fri Jan 20 14:34:36 UTC 2006
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
More information about the questions
mailing list