Here is my shell script to watch the leap second change:
#!/bin/sh
for i in `seq 0 240` ; do ntptime | awk '/time d3/ {print $3" "$4" "$5"
"$6" "$7}' | sed 's/,$//' ; sleep 0.5 ; done
On Mon, Jun 25, 2012 at 4:26 AM, Andreas Krüger <[email protected]>wrote:
>
> Hello, Thomas and all,
>
>
> What about using the "leapfile" setting? Do you recommend that?
>
> Personally, I use and recommend it.
>
> When I ask my server about the leap second coming up
> next weekend, it knows about that:
>
> $ ntpq -c "rv 0 leapsec" 127.0.0.1
> leapsec=201207010000
>
> I like that.
>
> I retrieved my leapsec file from ftp://time.nist.gov/pub/leap-seconds.list
> a while ago.
>
> On the minus side, I feel I'll have to change my settings again
> sometime between this leap second and the next. Either remove
> the leapfile again, or remember to retrieve the new leap file
> that _has_ that next leap second, whenever that becomes available.
>
> I'll probably do both.
>
> Regards, Andreas
>
>
>
>
>
>
> _______________________________________________
> pool mailing list
> [email protected]
> http://lists.ntp.org/listinfo/pool
>
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool