相关文章推荐
$ timedatectl
      Local time: Di 2015-04-07 16:26:56 CEST
  Universal time: Di 2015-04-07 14:26:56 UTC
        RTC time: Di 2015-04-07 14:26:56
       Time zone: Europe/Berlin (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 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(1), hwclock(8), date(1), localtime(5), systemctl(1), systemd-timedated.service(8), systemd-timesyncd.service(8), systemd-firstboot(1)

本页面中文版由中文 man 手册页计划提供。

翻译人员:金步国 金步国作品集:http://www.jinbuguo.com 中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh

https://github.com/man-pages-zh/manpages-zh
Licenses:
GFDL-1.2-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-or-later, GPL-3.0-or-later WITH Autoconf-exception-generic-3.0, BSD-3-Clause, LicenseRef-permissive-gzip, LicenseRef-GPLv2+_DOC_FULL
Manuals:
/listing/extra/man-pages-zh_cn/
using mandoc for the conversion of manual pages.

The website is available under the terms of the GPL-3.0

 
推荐文章