Re: [chrony-users] Discover when a time sync has been performed

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


Hi Bill,

yes, the rapspi is sometimes powered-off, specially now while I'm testing the software. No process other than chrony is modifying the time, and sometimes the board is powered-off for many hours (overnight), and so will be the real behaviour of the final app.

I'm thinking about buying an RTC clock. They are cheap (15€) and maybe connecting it to the GPIO ports help... but I'd like to stay with a pure software source.


2013/7/4 Bill Unruh <unruh@xxxxxxxxxxxxxx>
On Thu, 4 Jul 2013, Ignacio Verona Ríos wrote:

Thanks again! Yes, I'm using 1.24 and now realized the log is there:

Jul  3 20:39:37 m2m-probe1 chronyd[2077]: System clock was stepped by
829.745 seconds

Jul  3 21:12:49 m2m-probe1 chronyd[2023]: System clock was stepped by
3057.778 seconds

That is looking seriously sick. It steps the clock, and 33 minutes later it
steps it by 50 minutes?

Jul  3 21:34:59 m2m-probe1 chronyd[2108]: System clock was stepped by
21.122 seconds

Jul  3 22:46:03 m2m-probe1 chronyd[1983]: System clock was stepped by
1698.671 seconds

Jul  4 09:17:25 m2m-probe1 chronyd[2047]: System clock was stepped by
32109.587 seconds
and here by 9 hours? Are constantly switching off and on you RPi?



Jul  4 10:27:34 m2m-probe1 chronyd[1992]: System clock was stepped by
36102.593 seconds

and an hour later by 10 hours?

Is your program altering the clock itself?




Jul  4 13:41:12 m2m-probe1 chronyd[2015]: System clock was stepped by
3942.919 seconds



Thank you very much!


2013/7/4 Miroslav Lichvar <mlichvar@xxxxxxxxxx>

On Thu, Jul 04, 2013 at 04:32:04PM +0200, Ignacio Verona Ríos wrote:
Hi Miroslav,

thanks for your answer. It partially solves my question, but I'm not able
to see the entry in the tracking log when makestep is applied. Last lines
of the file look like this:

2013-07-04 13:05:17 193.145.56.7     3     82.620     46.004 -2..830e-03

2013-07-04 13:05:21 193.145.56.7     3     82.127     43.920 -2..164e-03

2013-07-04 13:05:25 193.145.56.7     3     81.555     42.269 -1..921e-03



Should I expect some "Makestep OK" message? or it's a different state?

Not in the tracking log, but in the system log there should be a
"System clock was stepped by x seconds" message.



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