Professional Documents
Culture Documents
Synopsis
chronyd [OPTIONS]
Description
chrony is a pair of programs for maintaining the accuracy of computer clocks.
chronyd is a background daemon program that can be started at boot time.
Usage
chronyd is usually started at boot-time and requires superuser priviliges.
/usr/local/sbin/chronyd
Options
A summary of the options supported by chronyd is included below.
-P priority
This option will select the SCHED_FIFO real-time scheduler at the specified
priority (which must be between 0 and 100). This mode is supported only on
Linux.
-m
This option will lock chronyd into RAM so that it will never be paged out. This
mode is only supported on Linux.
-n
When run in this mode, the program will not detach itself from the terminal.
-d
When run in this mode, the program will not detach itself from the terminal, and
2
Support for real-time clocks is limited at present - the criteria are described in
the section on the rtcfile directive in the documentation supplied with the
distribution.
If chronyd cannot support the real time clock on your computer, this option
cannot be used and a warning message will be logged to the syslog.
If used in conjunction with the -r flag, chronyd will attempt to preserve the old
samples after setting the system clock from the real time clock. This can be used
to allow chronyd to perform long term averaging of the gain or loss rate across
system reboots, and is useful for dial-up systems that are shut down when not in
use. For this to work well, it relies on chronyd having been able to determine
accurate statistics for the difference between the real time clock and system
clock last time the computer was on.
-u user
When this option is used, chronyd will drop root privileges to the specified user.
So far, it works only on Linux when compiled with capabilities support.
-v
This option displays chronyd's version number to the terminal and exits
-4
Resolve hostnames only to IPv4 addresses.
-6
Resolve hostnames only to IPv6 addresses.
Files
/etc/chrony.conf
3
Version
Version 1.25
Bugs
To report bugs, please visit http://chrony.tuxfamily.org/
See Also
chronyd is documented in detail in the documentation supplied with the distribution
(chrony.txt and chrony.texi) and is also available
from http://go.to/chrony
Author
Richard Curnow <rc@rc0.org.uk>
Referenced By
chronyd_selinux(8)