Name
ntptimeset
Synopsis
ntptimeset [-l] [-d]... [-v] [-s] [-cfilename] [-u] [-Sinteger] [-Vinteger] [-ttimeout] [-H] [-akey_id] [-edelay]
Description
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/Usage
- -a
Enables secure authentication with the key specified by the given identifier.
- -c
Specifies the location of the configuration file. Defaults to
/etc/ntp.conf.- -d
Enables debugging output.
- -e
Specifies the delay, in seconds, caused by authentication. Normally this value is negligible.
- -H
Simulates poor network conditions by dropping a proportion of network packets.
- -l
Enables logging to
syslog.- -s
Sets the system clock. Otherwise,
ntptimesetmerely reports the clock’s offset.- -S
Specifies a minimum number of servers that must respond. Defaults to
3.- -t
Specifies time, in seconds, spent waiting for a server response. Defaults to
1.- -u
Uses an unprivileged client port.
- -v
Enables verbose output.
- -V
Specifies a minimum number of servers that must respond with a valid time. Defaults to
1.
Location
/usr/sbin
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access