Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
sntpclock(1)		     General Commands Manual		    sntpclock(1)

NAME
     sntpclock - check a system's clock through NTP

SYNOPSIS
     sntpclock host

DESCRIPTION
     sntpclock connects to an NTP server on host.  host must be a dotted-decimal
     IP address.

     sntpclock prints a 16-byte TAI64NA adjustment that, when added to the local
     UNIX  clock,  will produce the TAI clock on host.	sntpclock limits the ad-
     justment to 2 days.

     sntpclock does not bind to port 123; this means that it does  not	need  to
     run as root.  Note that some firewalls will not permit sntpclock requests.

NOTES
     An  NTP  timestamp  is a count of non-leap seconds.  sntpclock uses a local
     leap-second table to convert the NTP timestamp to	TAI  with  an  epoch  of
     1970-01-01  00:00:10  TAI.   For a discussion of the difference between UTC
     and TAI see http://pobox.com/~djb/proto/utctai.html.

     The current NTP time scale will break down in 2036.

SEE ALSO
     clockspeed(1),   clockadd(1),   clockview(1),   taiclock(1),   leapsecs(3),
     xntpd(8)

								    sntpclock(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sntpclock&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help