Name

ntptimeset

Synopsis

ntptimeset [-l] [-d]... [-v] [-s] [-c filename] [-u] [-S integer] 
[-V integer] [-t timeout] [-H] [-a key_id] [-e delay]

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, ntptimeset merely 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

Get Mac OS X Panther for Unix Geeks, Second 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.