← man/network
sntpd — man sntpd — 80×24
ugur@toprak:~/man/network$man sntpd
Bölüm 8

sntpd

very Simple Network Time Protocol server daemon

Synopsis

     launchctl enable system/com.apple.sntpd

     sntpd [-L] [-z state_file]

Description

sntpd is an SNTP server daemon, which can provide time synchronization services to clients such as timed(8).

The following options are available:

  • -L: Overwrite any existing state with a header describing a stratum 1 uncalibrated local clock. This is useful for starting a root (primary) server that doesn't use sntp(1) to synchronize with a higher stratum server.

-z state_file Specify where to get the header data from.

When unspecified, the default location is state.bin in the current working directory. When managed by launchd, the default system location is /var/sntpd/state.bin.

If the file does not exist, it will be created and populated with a template indicating that the server is unsynchronized.

Files

/var/sntpd/state.bin SNTP header data /System/Library/LaunchDaemons/com.apple.sntpd.plist launchd job

See Also

launchctl(1), sntp(1), clock_gettime(3), timed(8)

History

sntpd first appeared in macOS 11.1

Darwin October 16, 2020 Darwin