Guide
Time Synchronization
Accurate time supports logs, certificates, authentication, distributed systems and measurements. NTP distributes time over packet networks; PTP supports deployments needing different precision and hardware assumptions. A clock can be precisely consistent with a bad source, so accuracy and trust matter alongside precision.
Meaning and purpose
Accurate time supports logs, certificates, authentication, distributed systems and measurements. NTP distributes time over packet networks; PTP supports deployments needing different precision and hardware assumptions. A clock can be precisely consistent with a bad source, so accuracy and trust matter alongside precision.
How it works in context
Time clients estimate offset and network delay from exchanges with sources. Stratum describes distance in a synchronization hierarchy, not a universal quality score. Clocks drift between corrections, and asymmetric delay affects estimates. Leap-second handling and clock-stepping policy can influence applications that assume continuously increasing time.
Technical terms in this section
NTP
NTP synchronizes clocks using time exchanges and estimates of offset and delay.
SNTP
SNTP uses simplified NTP behavior suited to selected time-synchronization deployments.
PTP
PTP supports precision time synchronization with deployment-specific network and hardware assumptions.
Stratum levels
Stratum indicates synchronization hierarchy distance rather than a universal clock-quality ranking.
Clock drift
Clock drift is the rate difference between a local clock and its reference.
Time synchronization security
Time security protects source trust and synchronization exchanges against manipulation or incorrect inputs.
Time servers
Time servers provide synchronization references with defined trust and accuracy constraints.
GPS time sources
GPS-derived time supplies a reference subject to reception, interference and trust considerations.
Leap seconds
Leap seconds require coordinated handling by time sources, operating systems and applications.
Operational checks and security
Use reliable sources and monitor synchronization state and offset. Protect time services against abuse and consider authenticated time where supported. Preserve timezone information in logs; do not confuse local display time with the UTC timestamp of a network observation.
Read-only example
These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.
timedatectl status
# If chrony is installed: chronyc tracking
Sources and further reading
These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.