HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sntpd — An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servercommandclisntpdnotinvokedshouldsntp
macos

Problem

How to use the sntpd command: An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.

Solution

sntpd — An SNTP server. It should not be invoked manually. More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.

Start the daemon:
sntpd


Overwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server:
sntpd -L


Use a custom file for the SNTP state:
sntpd -z {{path/to/state.bin}}

Code Snippets

Start the daemon

sntpd

Overwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server

sntpd -L

Use a custom file for the SNTP state

sntpd -z {{path/to/state.bin}}

Context

tldr-pages: osx/sntpd

Revisions (0)

No revisions yet.