TIMEDATECTL(1) timedatectl TIMEDATECTL(1) (NAME) timedatectl - (SYNOPSIS) timedatectl [...] {} (DESCRIPTION) timedatectl . ( ) systemd-firstboot(1) . timedatectl systemd-timesyncd.service(8) . (COMMANDS) : status (RTC) . . . show status . (computer-parsable) . status . . --all . --property= . . set-time [TIME] (timestamp) . RTC . "2012-10-30 18:17:16" . systemd.time(7) . . set-timezone [TIMEZONE] . list-timezones . RTC RTC . /etc/localtime . localtime(5) . . list-timezones . set-timezone . . set-local-rtc [BOOL] . "0" RTC (UTC) . "1" RTC . RTC (daylight saving) . RTC UTC . RTC --adjust-system-clock ( ). /etc/adjtime hwclock(8) . . set-ntp [BOOL] . ( ) . (true) . (false) . systemd-timedated.service(8) . . systemd-timesyncd systemd- timesyncd.service(8) : timesync-status systemd- timesyncd.service(8). --monitor () . . show-timesync timesync-status . . timesync-status . . --all . --property= . . ntp-servers INTERFACE SERVER... NTP . systemd-networkd . . revert INTERFACE NTP . systemd-networkd . . (OPTIONS) : --adjust-system-clock set-local-rtc RTC . RTC . . --monitor timesync-status timedatectl systemd- timesyncd.service(8) . Ctrl+C . . -a, --all systemd-timesyncd.service(8) . . -p, --property= systemd-timesyncd.service(8) . . "ServerName" . . . --value show-timesync "=" . . -P --value --property= "=" . -P -p/--property= . . -H, --host= . (hostname) "@" . SSH ":" "/" . SSH . machinectl -H HOST . IPv6 () . -M, --machine= . "@" . ".host" ( : "--user --machine=lennart@.host"). "@" root . "@" ( ) ".host" . --no-ask-password . -h, --help . --version . --no-pager (pager). (EXIT STATUS) 0 . (ENVIRONMENT) $SYSTEMD_LOG_LEVEL (log level) ( ). . ( ) : emerg alert crit err warning notice info debug 0...7. syslog(3) . console syslog kmsg journal (:) ( SYSTEMD_LOG_LEVEL=debug,console:info debug info ). . $SYSTEMD_LOG_COLOR . true tty . journalctl(1) . $SYSTEMD_LOG_TIME . true . journalctl(1) . $SYSTEMD_LOG_LOCATION . true . . $SYSTEMD_LOG_TID . true (TID) . . . $SYSTEMD_LOG_TARGET . : console ( tty ) console-prefixed ( tty <> syslog(3) ) kmsg ( ) journal ( ) journal-or-kmsg ( kmsg) auto ( ) null ( ). $SYSTEMD_LOG_RATELIMIT_KMSG kmsg (rate limit) . . "true" . systemd kmsg . $SYSTEMD_PAGER $PAGER (pager) --no-pager . $SYSTEMD_PAGER $PAGER . $SYSTEMD_PAGER $PAGER less(1) more(1) . . "cat" --no-pager . : $SYSTEMD_PAGERSECURE $SYSTEMD_PAGER $PAGER ( "cat" "") . $SYSTEMD_LESS less ( "FRSXMK"). : K Ctrl+C . less Ctrl+C . $SYSTEMD_LESS "K" less Ctrl+C . X termcap . . () . $LESS less systemd . less(1) . $SYSTEMD_LESSCHARSET less ( "utf-8" UTF-8 ). $LESSCHARSET less systemd . $SYSTEMD_PAGERSECURE less(1) <<>> ( ) . ( sudo(8) pkexec(1)) . . << >> (secure mode) ( ). << >> --no-pager PAGER=cat . . true << >> . << >> LESSSECURE=1 . less(1) << >> . false . SYSTEMD_PAGERSECURE=0 . $SYSTEMD_PAGERSECURE systemd << >> . UID ( geteuid(2) sd_pid_get_owner_uid(3) ) sudo(8) ( $SUDO_UID [1]) << >> . SYSTEMD_PAGERSECURE=1 << >> . . $SYSTEMD_PAGERSECURE . $SYSTEMD_PAGER $PAGER ( ) $SYSTEMD_PAGERSECURE . $SYSTEMD_COLORS . true systemd ( ) . : "16" "256" ANSI . $TERM . $SYSTEMD_URLIFY . . systemd $TERM . (EXAMPLES) : $ timedatectl Local time: Thu 2017-09-21 16:08:56 CEST Universal time: Thu 2017-09-21 14:08:56 UTC RTC time: Thu 2017-09-21 14:08:56 Time zone: Europe/Warsaw (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no : $ timedatectl set-ntp true ==== AUTHENTICATING FOR org.freedesktop.timedate1.set-ntp === Authentication is required to control whether network time synchronization shall be enabled. Authenticating as: user Password: ******** ==== AUTHENTICATION COMPLETE === $ systemctl status systemd-timesyncd.service systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled) Active: active (running) since Mo 2015-03-30 14:20:38 CEST; 5s ago Docs: man:systemd-timesyncd.service(8) Main PID: 595 (systemd-timesyn) Status: "Using Time Server 216.239.38.15:123 (time4.google.com)." CGroup: /system.slice/systemd-timesyncd.service 595 /usr/lib/systemd/systemd-timesyncd ... systemd- timesyncd.service(8): $ timedatectl timesync-status Server: 216.239.38.15 (time4.google.com) Poll interval: 1min 4s (min: 32s; max 34min 8s) Leap: normal Version: 4 Stratum: 1 Reference: GPS Precision: 1us (-20) Root distance: 335us (max: 5s) Offset: +316us Delay: 349us Jitter: 0 Packet count: 1 Frequency: -8.802ppm (SEE ALSO) systemd(1), hwclock(8), date(1), localtime(5), systemctl(1), systemd- timedated.service(8), systemd-timesyncd.service(8), systemd- firstboot(1) (NOTES) 1. $SUDO_UID . systemd 257.13 TIMEDATECTL(1)