[systemd-commits] man/timedatectl.xml

Lennart Poettering lennart at kemper.freedesktop.org
Tue Apr 7 07:30:15 PDT 2015


 man/timedatectl.xml |   41 +++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 22 deletions(-)

New commits:
commit 57506e7d185bff2a9b26ff8c45fd8ccb3037507f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Apr 7 16:29:21 2015 +0200

    man: update timedatectl(1)'s examples
    
    The output didn't match what we output these days. Also, "set-ntp"
    cannot be used to control chronyd anymore.

diff --git a/man/timedatectl.xml b/man/timedatectl.xml
index 5baa323..e5d0ef4 100644
--- a/man/timedatectl.xml
+++ b/man/timedatectl.xml
@@ -106,7 +106,8 @@
         <listitem><para>Show current settings of the system clock and
         RTC, including whether NTP is enabled. Note that the NTP state
         simply reflects whether the
-        <filename>systemd-timesyncd.service</filename> unit is enabled.</para></listitem>
+        <filename>systemd-timesyncd.service</filename> unit is
+        enabled.</para></listitem>
       </varlistentry>
 
       <varlistentry>
@@ -185,25 +186,16 @@
     <title>Examples</title>
     <para>Show current settings:
     <programlisting>$ timedatectl
-      Local time: Fri, 2012-11-02 09:26:46 CET
-  Universal time: Fri, 2012-11-02 08:26:46 UTC
-  RTC time: Fri, 2012-11-02 08:26:45
-  Timezone: Europe/Warsaw
-      UTC offset: +0100
-     NTP enabled: no
-NTP synchronized: no
- RTC in local TZ: no
-      DST active: no
- Last DST change: CEST → CET, DST became inactive
-      Sun, 2012-10-28 02:59:59 CEST
-      Sun, 2012-10-28 02:00:00 CET
- Next DST change: CET → CEST, DST will become active
-      the clock will jump one hour forward
-      Sun, 2013-03-31 01:59:59 CET
-      Sun, 2013-03-31 03:00:00 CEST</programlisting>
+      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)
+     NTP enabled: yes
+NTP synchronized: yes
+ RTC in local TZ: no</programlisting>
     </para>
 
-    <para>Enable an NTP daemon (chronyd):
+    <para>Enable an NTP daemon:
     <programlisting>$ timedatectl set-ntp true
 ==== AUTHENTICATING FOR org.freedesktop.timedate1.set-ntp ===
 Authentication is required to control whether network time synchronization shall be enabled.
@@ -211,10 +203,15 @@ Authenticating as: user
 Password: ********
 ==== AUTHENTICATION COMPLETE ===</programlisting>
 
-    <programlisting>$ systemctl status chronyd.service
-chronyd.service - NTP client/server
-    Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
-    Active: active (running) since Fri, 2012-11-02 09:36:25 CET; 5s ago
+    <programlisting>$ 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
 ...</programlisting>
     </para>
   </refsect1>



More information about the systemd-commits mailing list