[chrony-users] How to read the RTC value?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


While chronyd is running with the rtcfile directive, timedatectl shows

$ timedatectl
               Local time: Fri 2024-08-09 14:12:01 UTC
           Universal time: Fri 2024-08-09 14:12:01 UTC
                 RTC time: n/a
                Time zone: Universal (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

When using chronyc's rtcdata command, you get
RTC ref time (GMT) : Sat May 30 07:25:56 2015
Number of samples  : 10
Number of runs     : 5
Sample span period :  549
RTC is fast by     :    -1.632736 seconds
RTC gains time at  :  -107.623 ppm
where

RTC ref time (GMT)
This is the RTC reading the last time its error was measured.

so this is not the current RTC value either. How to read it out then without having to stop chronyd?


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/