[time-nuts] GSP+PPP and GPSDO NTP servers - notes and questions

Adam Kumiszcza akumiszcza at gmail.com
Tue Nov 12 08:02:17 UTC 2019


Hi!

Than you for the info about 1PPS sharing!

On Thu, Nov 7, 2019 at 10:03 PM Fio Cattaneo (.US) <fio at cattaneo.us> wrote:

> Great graphs and screenshots, thanks for sharing 😊 I have a couple
> questions for you (see answers/comments below):
> a) Which cmd line tool did you use for the sreenshots in zegar_stats_pl.png
> and gpsdo_stats_pl.png ? Is that what you call your "simple perl script"?
> mind sharing it, I like it 😊
>

Yes, it's this simple perl script. I attached it, but it's an ugly code, no
error checking, comments etc. This one will work only on FreeBSD (different
load average and temperature polling than Linux), with ntp logs in
/var/log/ntpstats etc. The version for Raspberry pi needs additional CPAN
libraries, because it gets data from NTP Pool monioring website among other
things, so I don't attach it. It will probably be easier to adapt FreeBSD
version.
I also attached my windows perl (strawberry) code for checking ntp client
status (Meinberg software).


> b)

When collecting data for the phase error (offset) and jitter, what do you
> use a reference time source to calculate these offsets? I have struggling
> myself to get "good" data when collecting these statistics, as I am not
> quite sure which reference to trust.
>

I use offset and sys_jitter values of `ntpq -crv` command. The values are
in ms.

Cheers,
Adam Kumiszcza
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntparse.pl
Type: application/octet-stream
Size: 2828 bytes
Desc: not available
URL: <http://febo.com/pipermail/time-nuts_lists.febo.com/attachments/20191112/3d469f53/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: status.pl
Type: application/octet-stream
Size: 5965 bytes
Desc: not available
URL: <http://febo.com/pipermail/time-nuts_lists.febo.com/attachments/20191112/3d469f53/attachment-0001.obj>


More information about the Time-nuts_lists.febo.com mailing list