TIMEDATECTL(1) timedatectl TIMEDATECTL(1) timedatectl - timedatectl [...] {} timedatectl . systemd-firstboot(1) ( ). timedatectl systemd-timesyncd.service(8). : status (RTC) . . 195. show status . . status . . --all . --property=. 239. set-time [] . (RTC) . "2012-10-30 18:17:16". systemd.time(7) . 195. set-timezone [ ] . list-timezones. (RTC) RTC. /etc/localtime. localtime(5) . 195. list-timezones . set-timezone. 195. set-local-rtc [ ] . "0" (RTC) . "1" RTC . RTC . RTC UTC. RTC --adjust-system-clock ( ). /etc/adjtime hwclock(8). 195. set-ntp [ ] . ( ). . . systemd-timedated.service(8). 195. systemd-timesyncd systemd-timesyncd.service(8). timesync-status systemd-timesyncd.service(8). --monitor . 239. show-timesync timesync-status . . timesync-status . . --all . --property=. 239. ntp-servers ... NTP . systemd-networkd. 243. revert NTP . systemd-networkd. 243. : --adjust-system-clock set-local-rtc (RTC) . RTC . 195. --monitor timesync-status timedatectl systemd-timesyncd.service(8) . Ctrl+C . 239. -a --all systemd-timesyncd.service(8) . 239. -p --property= systemd-timesyncd.service(8) . . "ServerName". . 239. --value show-timesync "=". 239. -P --value --property= "=". -P -p/--property=. 256. -H --host= . "@" . ssh ":" "/" . SSH . machinectl -H . IPv6 . -M --machine= . "@" . ".host" ( : "--user --machine=lennart@.host"). "@" (root). "@" ( ) ".host". --no-ask-password . -h --help . --version . --no-pager (pager). 0 . $SYSTEMD_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 . tty . journalctl(1) . $SYSTEMD_LOG_TIME . . journalctl(1) . $SYSTEMD_LOG_LOCATION . . . . $SYSTEMD_LOG_TID . (TID). . . $SYSTEMD_LOG_TARGET . : console ( ) console-prefixed ( "" syslog(3) kmsg ( ) journal ( ) journal-or-kmsg ( kmsg ) auto ( ) null ( ). $SYSTEMD_LOG_RATELIMIT_KMSG kmsg . . "true". systemd kmsg. $SYSTEMD_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 (pager) less(1) "" . sudo(8) pkexec(1) . . " " ( ). " " --no-pager PAGER=cat . . (true) " " . " " LESSSECURE=1 . less(1) " ". false (pager). 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 (boolean) . ( ) systemd . $COLORTERM "truecolor" "24bit" 24 256 $NO_COLOR $TERM . true $NO_COLOR. false . "16" "256" "24bit" ANSI 16 256 24 . "auto-16" "auto-256" "auto-24bit" $TERM . $SYSTEMD_URLIFY . . systemd $TERM . : $ 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 systemd(1), hwclock(8), date(1), localtime(5), systemctl(1), systemd-timedated.service(8), systemd-timesyncd.service(8), systemd-firstboot(1) 1. $SUDO_UID . 3 . . : . systemd 260.2 TIMEDATECTL(1)