chronyc
Command-line interface for the chrony NTP daemon
TLDR
Check synchronization status
$ chronyc tracking
List time sources$ chronyc sources
Verbose source list$ chronyc sources -v
Source statistics$ chronyc sourcestats
Force time sync$ chronyc makestep
Add NTP server$ chronyc add server [pool.ntp.org]
Interactive mode$ chronyc
SYNOPSIS
chronyc [options] [command]
DESCRIPTION
chronyc is the command-line interface for chronyd, the NTP daemon. Used to monitor synchronization status, manage time sources, and configure the daemon. Changes are not persistent across restarts.
PARAMETERS
-n
Don't resolve hostnames-c
CSV output format-m
Allow multiple commands-h host
Connect to remote chronyd
CONFIGURATION
/etc/chrony.conf
Permanent configuration for chronyd. Runtime changes via chronyc are lost on restart.
COMMANDS
tracking
Display system clock status and offsetsources
List NTP sourcessourcestats
Show source statisticsmakestep
Force immediate clock correctionactivity
Show online/offline source countadd server host
Add NTP serverdelete address
Remove NTP sourceburst good/max
Start rapid pollingoffline / online
Set sources offline/onlinentpdata
Display NTP data for sources
CAVEATS
Requires chronyd running. Runtime changes lost on restart. Sub-microsecond accuracy possible with hardware timestamping.
SEE ALSO
chronyd(8), timedatectl(1), ntpq(1)
