[ntp:questions] ntpq -p "when"
kostecke at ntp.org
Fri Nov 9 22:32:43 UTC 2007
On 2007-11-09, lmr <lizvettem at gmail.com> wrote:
> What does the "when" field from the ntpq -p output means?
The number of seconds since ntpd last received an answer to a poll.
> The man pages say its seconds since the last packet was received but
> some documentation online say the it resets to 0 when is equal to the
Where did you see this?
> Is it set when a sync is requested or received?
It displays the number of seconds since ntpd last RECEIVED an answer to
a POLL. It has nothing to do with synchronization.
> Is is possible for the "when" count to be greater that the polling
> interval in case no packet was received (server is unreachable)? --
Yes, it is.
> Has anyone seen it going greater than the poll interval?
Yes, I have.
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/
More information about the questions