Name
ntptimeset
Synopsis
ntptimeset [-l] [-d]... [-v] [-s] [-cfilename
] [-u] [-Sinteger
] [-Vinteger
] [-ttimeout
] [-H] [-akey_id
] [-edelay
]
Synchronizes the system clock in a manner similar to
ntpdate
, but in a way that attempts to compensate
for current, possibly degraded, network conditions.
Options
-
-a
Enable secure authentication with the key specified by the given identifier.
-
-c
Specify the location of the configuration file. Defaults to
/etc/ntp.conf
.-
-d
Enable debugging output.
-
-e
Specify the delay, in seconds, caused by authentication. Normally this is negligible.
-
-H
Simulate poor network conditions by dropping a proportion of network packets.
-
-l
Enable logging to
syslog
.-
-s
Set the system clock. Otherwise,
ntptimeset
merely reports the clock’s offset.-
-S
Specify a minimum number of servers that must respond. Defaults to
3
.-
-t
Specify the time, in seconds, spent waiting for a server response. Defaults to
1
.-
-u
Use an unprivileged client port.
-
-v
Enable verbose output.
-
-V
Specify a minimum number of servers that must respond with a valid time. Defaults to
1
.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.