Sntp
is a simple client for the Simple Network Time Protocol (RFC1361).
It requests the time from the SNTP service on
server
(default:
udp!$ntp!ntp),
and if it receives a plausible reply,
sets the local time accordingly, in both
rtc(3)
and
/dev/time.
The
-d
option prints debugging text, including the time received;
the
-i
option stops
sntp
from actually updating the local time.