<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HP Support Statement for XNTPD Leap Second Processing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663803#M796785</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt; There is a section in the man page that talks about slew. Its a little long so I did not want to post it. Users would have to determine if their applications would be affected. HP generally doesnt recommend using slew, see "man 1m xntpd" &lt;BR /&gt;&lt;BR /&gt;At this time I don't think there is an enhancement to update the man pages but I can certainly check and if not request one. &lt;BR /&gt;&lt;BR /&gt;Thanks for posting the link.&lt;BR /&gt;&lt;BR /&gt;Todd</description>
    <pubDate>Thu, 03 Nov 2005 16:14:11 GMT</pubDate>
    <dc:creator>Todd Whitcher</dc:creator>
    <dc:date>2005-11-03T16:14:11Z</dc:date>
    <item>
      <title>HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663790#M796772</link>
      <description>This data is provided from HP's Expert center in response to questions about XNTPD and leap second processing. &lt;BR /&gt;&lt;BR /&gt;Leap Second processing in HP's xntpd&lt;BR /&gt;&lt;BR /&gt;Purpose&lt;BR /&gt;&lt;BR /&gt; The purpose of this document is to explain the processing of leap&lt;BR /&gt; seconds in HP's xntpd.&lt;BR /&gt;&lt;BR /&gt;Leap Second Overview&lt;BR /&gt;&lt;BR /&gt; For the benefit of readers who are not aware of the leap second&lt;BR /&gt; terminology, this section explains the concept of the leap&lt;BR /&gt; second. Readers familiar with the leap second concept may wish to&lt;BR /&gt; skip this section. &lt;BR /&gt;&lt;BR /&gt; While the Earth is expected to make one complete rotation about its&lt;BR /&gt; own axis in 86400 seconds (one mean solar day), in reality it is not&lt;BR /&gt; the case. Earth takes slightly more than 86400 seconds to make one&lt;BR /&gt; complete rotation and hence one mean solar day is slightly longer than&lt;BR /&gt; 86400 seconds. This introduces a slight error in the time calculations&lt;BR /&gt; used by the atomic clocks, because the atomic clocks were designed&lt;BR /&gt; to consider 86400 seconds as one day. In order to synchronize the&lt;BR /&gt; time derived from the atomic clocks with the astronomical time,&lt;BR /&gt; the concept of leap second was introduced.&lt;BR /&gt;&lt;BR /&gt; Leap seconds were meant to synchronize the standard time (UTC)&lt;BR /&gt; with the astronomical time. However an exact synchronization is&lt;BR /&gt; not maintained. Leap seconds only guarantee that the UTC time does&lt;BR /&gt; not deviate more that 0.9 seconds from the astronomical time. Leap&lt;BR /&gt; seconds can be either positive or negative. A positive leap second&lt;BR /&gt; denotes a second to be added to the time on which it is applied,&lt;BR /&gt; while a negative leap second denotes a second to be removed.&lt;BR /&gt;&lt;BR /&gt; Since a positive leap second adds an extra second to the time, the&lt;BR /&gt; UTC clock during midnight advances as follows :&lt;BR /&gt;&lt;BR /&gt; 23:59:58&lt;BR /&gt; 23:59:59&lt;BR /&gt; 23:59:60  &amp;lt;= leap second&lt;BR /&gt; 00:00:00&lt;BR /&gt; 00:00:01&lt;BR /&gt;&lt;BR /&gt; Note the presence of an extra second - the positive leap second -&lt;BR /&gt; at 23:59:60.&lt;BR /&gt;&lt;BR /&gt; Application of a negative leap second causes the UTC clock to advance&lt;BR /&gt; in the following fashion during midnight :&lt;BR /&gt;&lt;BR /&gt; 23:59:58&lt;BR /&gt; 00:00:00&lt;BR /&gt; 00:00:01&lt;BR /&gt;&lt;BR /&gt; Note that the clock jumps directly from 23:59:58 to 00:00:00. The&lt;BR /&gt; 59th second is skipped.&lt;BR /&gt;&lt;BR /&gt; As of the date of publication of this document there has never been&lt;BR /&gt; an instance of negative leap second adjustment to UTC.&lt;BR /&gt;&lt;BR /&gt;NTP and leap seconds&lt;BR /&gt;&lt;BR /&gt; NTP has provisions in the packet to denote leap second adjustments. A&lt;BR /&gt; 2-bit provision in NTP packet called the Leap Indicator (LI) can&lt;BR /&gt; denote the occurrence of either a positive leap second or a negative&lt;BR /&gt; leap second.&lt;BR /&gt;&lt;BR /&gt;HP's xntpd and LI&lt;BR /&gt;&lt;BR /&gt; HP's xntpd can handle LI in NTP packets and adjust the time&lt;BR /&gt; accordingly.  Both positive and negative leap seconds are handled by&lt;BR /&gt; xntpd. xntpd implements positive leap seconds by going backward in&lt;BR /&gt; time and negative leap seconds by going forward in time. The default&lt;BR /&gt; behavior of xntpd is to step the clock in the right direction, when&lt;BR /&gt; xntpd needs to apply the leap second. Positive leap adjustments are&lt;BR /&gt; done by stepping the clock backward and negative leap adjustments&lt;BR /&gt; are done by stepping the clock forward. However this sudden step of&lt;BR /&gt; time can cause harm to certain applications. For example databases&lt;BR /&gt; can have problems when a positive leap second triggers xntpd to step&lt;BR /&gt; the system time backward. When this stepping of time is undesirable,&lt;BR /&gt; administrators may consider the option of starting xntpd with the&lt;BR /&gt; '-x' option. The '-x' option causes xntpd to always do a slew instead&lt;BR /&gt; of a step, to perform time adjustments. When the '-x' option is&lt;BR /&gt; set, xntpd slews the time in the right direction (either forward&lt;BR /&gt; or backward) when leap second occurs. However the consequences of&lt;BR /&gt; slewing must be completely understood before deciding to use the&lt;BR /&gt; '-x' option. See xntpd(1M) for more details.&lt;BR /&gt;&lt;BR /&gt; When xntpd performs leap second adjustments it displays the following&lt;BR /&gt; messages in syslog ( at LOG_NOTICE level ) :&lt;BR /&gt;&lt;BR /&gt; For positive leap adjustments, xntpd displays&lt;BR /&gt; "leap second occurred, stepped time back 1 second" &lt;BR /&gt;&lt;BR /&gt; and for negative leap adjustments, xntpd displays&lt;BR /&gt; "leap second occurred, stepped time forward 1 second" &lt;BR /&gt;&lt;BR /&gt; However xntpd logs the above mentioned messages only if sync events&lt;BR /&gt; or sys events are enabled in xntpd's conditional log mask. See the&lt;BR /&gt; logconfig command in ntp.conf(5) for more details. Unless altered,&lt;BR /&gt; xntpd by default logs sync events and hence logs the above mentioned&lt;BR /&gt; leap second related messages.&lt;BR /&gt;&lt;BR /&gt; Note that irrespective of whether xntpd did a step or a slew, it&lt;BR /&gt; displays the message "..., stepped time ...". This message can cause&lt;BR /&gt; system administrators to wrongly believe that xntpd always performs&lt;BR /&gt; leap second adjustments by stepping. Note that with the -x option,&lt;BR /&gt; xntpd will perform leap second adjustments by slewing but displays&lt;BR /&gt; a wrong message.&lt;BR /&gt;&lt;BR /&gt;Summary&lt;BR /&gt;&lt;BR /&gt; This section summarizes the behavior of HP's xntpd with respect to&lt;BR /&gt; leap second adjustments.&lt;BR /&gt;&lt;BR /&gt; o xntpd can perform both positive and negative leap second adjustments.&lt;BR /&gt;&lt;BR /&gt; o xntpd can perform leap second adjustments by either stepping or&lt;BR /&gt;   slewing the clock in the right direction. The default behavior of&lt;BR /&gt;   xntpd is to the step the time, but the -x option causes xntpd to&lt;BR /&gt;   slew the time to make leap second adjustments.&lt;BR /&gt;&lt;BR /&gt; o xntpd displays the following messages in syslog. "leap second&lt;BR /&gt;   occurred, stepped time back 1 second" is displayed for positive&lt;BR /&gt;   leap second adjustments and "leap second occurred, stepped time&lt;BR /&gt;   forward 1 second" is displayed for negative leap second adjustments.&lt;BR /&gt;&lt;BR /&gt; o Positive leap second step adjustments can cause the clock to go&lt;BR /&gt;   back slightly in time. If this is not desirable, customers may&lt;BR /&gt;   consider starting xntpd with the -x option, which ensures that xntpd&lt;BR /&gt;   performs time adjustments by slewing. The consequences of slewing&lt;BR /&gt;   must be completely understood before deciding to use the '-x' option.&lt;BR /&gt;&lt;BR /&gt; o A minor bug causes xntpd to always display the message "...,&lt;BR /&gt;   stepped time ..." even if xntpd makes leap second adjustments by&lt;BR /&gt;   slewing the clock.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2005 09:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663790#M796772</guid>
      <dc:creator>Todd Whitcher</dc:creator>
      <dc:date>2005-11-03T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663791#M796773</link>
      <description>Thanks for the info Todd, it will be really helpful.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 03 Nov 2005 09:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663791#M796773</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-11-03T09:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663792#M796774</link>
      <description>Thank you Todd.&lt;BR /&gt;&lt;BR /&gt;This information is very useful for me.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav</description>
      <pubDate>Thu, 03 Nov 2005 09:34:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663792#M796774</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-11-03T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663793#M796775</link>
      <description>Thanks Todd for sharing the useful and valuable information.&lt;BR /&gt;&lt;BR /&gt;Thanks to  HP's Expert Center for putting efforts to share this information at ITRC.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2005 09:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663793#M796775</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-11-03T09:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663794#M796776</link>
      <description>Hi Todd:&lt;BR /&gt;&lt;BR /&gt;This is quite a nice document.  I presume that it is already (or will be soon) added to the TKB.  It certainly deserves to be!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 03 Nov 2005 10:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663794#M796776</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-03T10:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663795#M796777</link>
      <description>Hi James, yes I am going to add it today.&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Thu, 03 Nov 2005 10:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663795#M796777</guid>
      <dc:creator>Todd Whitcher</dc:creator>
      <dc:date>2005-11-03T10:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663796#M796778</link>
      <description>I've created an Application note for the knowledge base for future reference.&lt;BR /&gt;&lt;BR /&gt;Doc ID: KBAN00001231&lt;BR /&gt;&lt;BR /&gt;It should be posted in 24-48 hours. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2005 10:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663796#M796778</guid>
      <dc:creator>Todd Whitcher</dc:creator>
      <dc:date>2005-11-03T10:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663797#M796779</link>
      <description>Hi (again) Todd:&lt;BR /&gt;&lt;BR /&gt;Thanks for the TKB and thanks for the nice work!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 03 Nov 2005 10:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663797#M796779</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-03T10:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663798#M796780</link>
      <description>A nice job Todd!&lt;BR /&gt;&lt;BR /&gt;I appreciate&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 03 Nov 2005 13:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663798#M796780</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-11-03T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663799#M796781</link>
      <description>That was a really great read for me as a NTP-lover.&lt;BR /&gt;&lt;BR /&gt;Thank You very much,&lt;BR /&gt;florian</description>
      <pubDate>Thu, 03 Nov 2005 13:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663799#M796781</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-11-03T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663800#M796782</link>
      <description>I found this fascinating.&lt;BR /&gt;&lt;BR /&gt;If not totally relavent to my job, I really, really enjoyed it.&lt;BR /&gt;&lt;BR /&gt;I encourage others at HP do do this.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Nov 2005 13:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663800#M796782</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-11-03T13:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663801#M796783</link>
      <description>Agreed - nice job, liked it!&lt;BR /&gt;&lt;BR /&gt;Here are two other gems:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/year-2000/leap.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/year-2000/leap.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_2315.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_2315.html&lt;/A&gt;</description>
      <pubDate>Thu, 03 Nov 2005 15:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663801#M796783</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-11-03T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663802#M796784</link>
      <description>So the recommendation is to set -x in /etc/rc.config.d/netdaemons for xntpd options? Since there is a minor bug in logging, will there be a patch that includes an updated man page with leap second info? Would a patch also be created for 11.00? Are there any concerns about running xntpd -x? &lt;BR /&gt; &lt;BR /&gt;It appears that leap seconds may occur yearly but the exact date for this event is determined after extensive measurements. Here is a great article from the US Naval Observatory: &lt;A href="http://tycho.usno.navy.mil/leapsec.html" target="_blank"&gt;http://tycho.usno.navy.mil/leapsec.html&lt;/A&gt;</description>
      <pubDate>Thu, 03 Nov 2005 16:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663802#M796784</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-03T16:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663803#M796785</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt; There is a section in the man page that talks about slew. Its a little long so I did not want to post it. Users would have to determine if their applications would be affected. HP generally doesnt recommend using slew, see "man 1m xntpd" &lt;BR /&gt;&lt;BR /&gt;At this time I don't think there is an enhancement to update the man pages but I can certainly check and if not request one. &lt;BR /&gt;&lt;BR /&gt;Thanks for posting the link.&lt;BR /&gt;&lt;BR /&gt;Todd</description>
      <pubDate>Thu, 03 Nov 2005 16:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663803#M796785</guid>
      <dc:creator>Todd Whitcher</dc:creator>
      <dc:date>2005-11-03T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663804#M796786</link>
      <description>Awesome job in putting together this document and making the itrc community aware of its presence.&lt;BR /&gt;&lt;BR /&gt;regards!</description>
      <pubDate>Thu, 03 Nov 2005 18:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663804#M796786</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-03T18:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663805#M796787</link>
      <description>Here are some additional references:&lt;BR /&gt;&lt;BR /&gt;URL Reference&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ntp.org/ntpfaq/NTP-s-time.htm#Q-TIME-LEAP-SECOND" target="_blank"&gt;http://www.ntp.org/ntpfaq/NTP-s-time.htm#Q-TIME-LEAP-SECOND&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;During a leap second, either one second is removed from the current day, or a second is added. In both cases this happens at the end of the UTC day. If a leap second is inserted, the time in UTC is specified as 23:59:60. In other words, it takes two seconds from 23:59:59 to 0:00:00 instead of one. If a leap second is deleted, time will jump from 23:59:58 to 0:00:00 in one second instead of two. See also Section 5.2.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Laboratories:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://tycho.usno.navy.mil/leapsec.html" target="_blank"&gt;http://tycho.usno.navy.mil/leapsec.html&lt;/A&gt; (Master Clock) &lt;BR /&gt;&lt;A href="http://www.npl.co.uk/time/leap_second.html" target="_blank"&gt;http://www.npl.co.uk/time/leap_second.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Discussion about a leap second&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ucolick.org/~sla/leapsecs/onlinebib.html" target="_blank"&gt;http://www.ucolick.org/~sla/leapsecs/onlinebib.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;According to the IERS a leap second will be introduced Jan 1 2006.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat" target="_blank"&gt;http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Other References&lt;BR /&gt;&lt;A href="http://tf.nist.gov/general/leaps.htm" target="_blank"&gt;http://tf.nist.gov/general/leaps.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cl.cam.ac.uk/~mgk25/time/leap/" target="_blank"&gt;http://www.cl.cam.ac.uk/~mgk25/time/leap/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://tf.nist.gov/timefreq/pubs/bulletin/leapsecond.htm" target="_blank"&gt;http://tf.nist.gov/timefreq/pubs/bulletin/leapsecond.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.livescience.com/technology/050705_leap_second.html" target="_blank"&gt;http://www.livescience.com/technology/050705_leap_second.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.leapsecond.com/" target="_blank"&gt;http://www.leapsecond.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy and thanks for the feedback. &lt;BR /&gt;&lt;BR /&gt;Todd&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Nov 2005 15:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663805#M796787</guid>
      <dc:creator>Todd Whitcher</dc:creator>
      <dc:date>2005-11-04T15:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663806#M796788</link>
      <description>Of course the other side of the coin is that UNIX time as measured in epoch seconds has no notion of leap seconds and every day has exactly 86400 seconds. This also means that functions like mktime() will silently coerce the seconds into the range 0-59.&lt;BR /&gt;&lt;BR /&gt;Because the tidal forces are always making the days longer --- and moving the moon farther away ---, the leap seconds are always expected to be positive. There are other mechanism in play which cause the rotational period of the earth to vary but the tidal forces are the first-order forces. Because angular momentum must be conserved, about the only mechanism (other than a collision with a rather large body) that could cause a negative leap second to be added would be an incredibly violent tectonic event. In either of those cases, I doubt very much that knowing the "correct" time will matter very much.&lt;BR /&gt;&lt;BR /&gt;There is also a movement to do away with leap seconds to make timekeeping easier although the astronomical community is very opposed to this.</description>
      <pubDate>Fri, 04 Nov 2005 17:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663806#M796788</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-11-04T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663807#M796789</link>
      <description>What I understand from this explanation is that in HP-UX (with no -x option to xntpd) we will have a scenario like this:&lt;BR /&gt;&lt;BR /&gt;23:59:58&lt;BR /&gt;23:59:59&lt;BR /&gt;00:00:00&lt;BR /&gt;00:00:00 &amp;lt;== "leap second occurred, stepped time back 1 second"&lt;BR /&gt;00:00:01&lt;BR /&gt;&lt;BR /&gt;And not like this:&lt;BR /&gt;&lt;BR /&gt;23:59:58&lt;BR /&gt;23:59:59&lt;BR /&gt;23:59:60&lt;BR /&gt;00:00:00&lt;BR /&gt;00:00:01&lt;BR /&gt;&lt;BR /&gt;I am correct?</description>
      <pubDate>Mon, 28 Nov 2005 09:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663807#M796789</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2005-11-28T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: HP Support Statement for XNTPD Leap Second Processing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663808#M796790</link>
      <description>Just out of my curiosity I wrote a simple program that logs the time roughly every 250 milliseconds to a file. A ran that program on several machines. I also looked at the system logs. Here are the results:&lt;BR /&gt;&lt;BR /&gt;Linux systems:&lt;BR /&gt;==============&lt;BR /&gt;system1 (kernel: 2.6.9-22)&lt;BR /&gt;--------------------------&lt;BR /&gt;/var/log/messages:&lt;BR /&gt;Jan  1 01:59:59 system1 kernel: Clock: inserting leap second 23:59:60 UTC&lt;BR /&gt;Jan  1 02:29:06 system1 ntpd[2234]: kernel time sync enabled 0001&lt;BR /&gt;&lt;BR /&gt;Results from my program:&lt;BR /&gt;...&lt;BR /&gt;01/01/06 01:59:58.866391&lt;BR /&gt;01/01/06 01:59:59.118342&lt;BR /&gt;01/01/06 01:59:59.370286&lt;BR /&gt;01/01/06 01:59:59.622226&lt;BR /&gt;01/01/06 01:59:59.874171&lt;BR /&gt;01/01/06 01:59:59.126121 &amp;lt;&amp;lt;=== Note here&lt;BR /&gt;01/01/06 01:59:59.378062&lt;BR /&gt;01/01/06 01:59:59.630009&lt;BR /&gt;01/01/06 01:59:59.881953&lt;BR /&gt;01/01/06 02:00:00.133904&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;system2 (kernel: 2.6.9-5):&lt;BR /&gt;--------------------------&lt;BR /&gt;/var/log/messages:&lt;BR /&gt;Jan  1 01:59:59 system2 kernel: Clock: inserting leap second 23:59:60 UTC&lt;BR /&gt;Jan  1 02:32:06 system2 ntpd[2132]: kernel time sync enabled 0001&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;system3 (kernel: 2.4.21-20):&lt;BR /&gt;----------------------------&lt;BR /&gt;/var/log/messages:&lt;BR /&gt;Jan  1 01:21:48 system3 ntpd[19207]: kernel time discipline status change 11&lt;BR /&gt;Jan  1 01:59:59 system3 kernel: Clock: inserting leap second 23:59:60 UTC&lt;BR /&gt;Jan  1 02:30:05 system3 ntpd[19207]: kernel time discipline status change 1&lt;BR /&gt;&lt;BR /&gt;Results from my program:&lt;BR /&gt;...&lt;BR /&gt;01/01/06 01:59:58.935352&lt;BR /&gt;01/01/06 01:59:59.195363&lt;BR /&gt;01/01/06 01:59:59.455370&lt;BR /&gt;01/01/06 01:59:59.715380&lt;BR /&gt;01/01/06 01:59:59.975388&lt;BR /&gt;01/01/06 01:59:59.235399 &amp;lt;&amp;lt;=== Note here&lt;BR /&gt;01/01/06 01:59:59.495409&lt;BR /&gt;01/01/06 01:59:59.755416&lt;BR /&gt;01/01/06 02:00:00.015423&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;HP-UX&lt;BR /&gt;=====&lt;BR /&gt;system4 (kernel: B.11.00):&lt;BR /&gt;--------------------------&lt;BR /&gt;/var/adm/syslog/syslog.log:&lt;BR /&gt;Jan  1 02:00:01 system4 xntpd[1096]: leap second occurred, stepped time back 1 second&lt;BR /&gt;&lt;BR /&gt;Results from my program:&lt;BR /&gt;...&lt;BR /&gt;01/01/06 01:59:58.927018&lt;BR /&gt;01/01/06 01:59:59.187032&lt;BR /&gt;01/01/06 01:59:59.447046&lt;BR /&gt;01/01/06 01:59:59.707136&lt;BR /&gt;01/01/06 01:59:59.967033&lt;BR /&gt;01/01/06 02:00:00.227297&lt;BR /&gt;01/01/06 02:00:00.487192&lt;BR /&gt;01/01/06 02:00:00.747122&lt;BR /&gt;01/01/06 02:00:01.007174&lt;BR /&gt;01/01/06 02:00:01.267101&lt;BR /&gt;01/01/06 02:00:01.527165&lt;BR /&gt;01/01/06 02:00:01.787064&lt;BR /&gt;01/01/06 02:00:02.047041&lt;BR /&gt;01/01/06 02:00:02.307016&lt;BR /&gt;01/01/06 02:00:02.567112&lt;BR /&gt;01/01/06 02:00:02.827070&lt;BR /&gt;01/01/06 02:00:02.087247 &amp;lt;&amp;lt;=== Note here&lt;BR /&gt;01/01/06 02:00:02.347235&lt;BR /&gt;01/01/06 02:00:02.607201&lt;BR /&gt;01/01/06 02:00:02.867181&lt;BR /&gt;01/01/06 02:00:03.127217&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;The results show that both Linux and HP-UX systems inserted the leap second roughly on time 02:00 am; this is because the systems run on EET (i.e., UTC+2) time zone.&lt;BR /&gt;&lt;BR /&gt;Linux systems inserted the leap second AFTER 01:59:59, so my program logged the time period 01:59:59 - 02:00:00 two times (note that there was no time 01:59:60).&lt;BR /&gt;&lt;BR /&gt;HP-UX systems inserted the leap second AFTER 02:00:01; but actually my program logged the time period 02:00:02 - 02:00:03 two times.&lt;BR /&gt;&lt;BR /&gt;This is just an information for curious people like me. :)&lt;BR /&gt;&lt;BR /&gt;The program is attached...&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Jan 2006 11:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-support-statement-for-xntpd-leap-second-processing/m-p/3663808#M796790</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2006-01-01T11:34:49Z</dc:date>
    </item>
  </channel>
</rss>

