On 2020-06-08, a...@avtodoria.ru <a...@avtodoria.ru> wrote:
> понедельник, 8 июня 2020 г., 10:52:36 UTC+3 пользователь Miroslav
> Lichvar написал:
>> If you need something to report a large offset to ntpd via SHM, you
>> could try this program for testing leap seconds:
>> 
>> https://github.com/mlichvar/leapshm

> Thank you ver much. Please can you explain the params program uses.
> Second can be path to unix socket or something else starting not with
> "/" to use SHM. What about third param ?

It's the number of seconds before the hardcoded leap second time (1 Jul
2015 00:00:00 UTC) where the time fed by the program should start. E.g.
if it was 600, it would start 10 minutes before the midnight of the leap
second. You would probably want to start with a larger number (if you
don't want to test a leap second) and also change the LEAP_TIME constant
to a current date.

-- 
Miroslav Lichvar

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to