man ntpd (Administration système) - ntpd

NAME

ntpd - Network Time Protocol daemon

SYNOPSIS

ntpd [-dSs] [-f file]

DESCRIPTION

The daemon synchronizes the local clock to one or more remote NTP servers, and can also act as an NTP server itself, redistributing the local time. It implements the Simple Network Time Protocol version 4, as described in RFC 2030, and the Network Time Protocol version 3, as described in RFC 1305.

uses the adjtime() system call to correct the local system time without causing time jumps. Adjustments larger than 128ms are logged using syslog(3) . The threshold value is chosen to avoid having local clock drift thrash the log files. Should be started with the -d option, all calls to adjtime() will be logged.

When starts up, it reads settings from a configuration file, typically ntpd.conf(5) .

The options are as follows:

-d
Do not daemonize. If this option is specified, will run in the foreground and log to
-f file
Use file as the configuration file, instead of the default /etc/ntpd.conf .
-S
Do not set the time immediately at startup. This is the default.
-s
Set the time immediately at startup if the local clock is off by more than 180 seconds. Allows for a large time correction, eliminating the need to run rdate() before starting .

FILES

/etc/ntpd.conf
default configuration file

SEE ALSO

date(1) ,adjtime(2) ,ntpd.conf(5) ,rdate(8) ,timed()

HISTORY

The program first appeared in