The Synchronization Status of ntpd

There is a need to be able to easily and consistently determine if system clock and/or ntpd 's idea of its internal state and the system clock are "correct" (for some definition of correct).

To offer this ability, it seems to me that the first thing we need to nail down is the definition and specification of "correct".

The definition of 'correct' time

How about the following:

  • The decoded system status bits contain sync_ntp
  • (obsolete) ntpd is in state S_SYNC (which Dave is renaming to EVNT_SYNC)
  • any slew adjustment in-process is under X (where X is configurable)

  • Do we care about the root dispersion?

This topic: Dev > WebHome > DevelopmentIssues > NtpdsSyncStatus
Topic revision: 30 Aug 2008, HarlanStenn
Copyright © by the contributing authors.Use of this website indicates your agreement with, and acceptance of, the PrivacyPolicy, the WikiDisclaimer, and the PrivateWebPolicy.