Re: [ntp:questions] NTP time compare util

2012-08-30 Thread E-Mail Sent to this address will be added to the BlackLists
Kennedy, Paul wrote:
 http://secondthoughts.no-ip.org/page-peerstats.php

I thought i saw some similar utilities on satsignal.eu/ntp
 by David Taylor.


-- 
E-Mail Sent to this address blackl...@anitech-systems.com
  will be added to the BlackLists.

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


Re: [ntp:questions] NTP time compare util

2012-08-29 Thread David Woolley

Steve Kostecke wrote:

On 2012-08-28, David Woolley david@ex.djwhome.demon.invalid wrote:


Steve Kostecke wrote:


ntpd polls your chosen time servers and determine which is aparently
the best. ntpd continuously steers your system clock towards the
chosen time server.

Unless it has changed recently, it steers towards an average of all
the servers that haven't been eliminated. The best one is only used
to set the stratum and the downstream error statistics (root distance,
and root dispersion).

At one time the averaging was weighted. I'm not completely sure if
even that is true, now.


*plonk*



That's a weird response to a low volume poster who has never been 
challenged when they have made this point before.


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


Re: [ntp:questions] NTP time compare util

2012-08-29 Thread Kennedy, Paul
I had a think about this oddball question last night, and decided to
explore it a little further.

Assuming I understand the original question from Harry Bloomfield, it
came to me that the we already have the data Harry is looking for in the
peerstats files, ie we have a data record for each response from each
configured server...

1.pool.ntp.org
Time, offset, jitter, delay
Time, offset, jitter, delay
Time, offset, jitter, delay

an.other.server
Time, offset, jitter, delay
Time, offset, jitter, delay
Time, offset, jitter, delay

Harry was looking for a display of this, so I spent a couple of hours
and made something which displays the live data...

http://secondthoughts.no-ip.org/page-peerstats.php

You will see from the plots, I am still fooling round with the conf
file, but general principle is to make a utility which can display a
24hour data 'time quality' from several servers at once (Harry asked for
the 'time' from several servers, but I interpret that to mean the
quality of the time from those servers, as all the humans I know cannot
deal with milliseconds)

Maybe Harry is really after super-humans (ie the borg), so they are all
in collective sync, but this is as good as I can do right now.


regards


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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Ivan Shmakov
 telsar  no...@nowhere.com writes:
 On 8/24/2012 7:52 AM, Harry Bloomfield wrote:

[Cross-posting to news:comp.protocols.time.ntp, for obvious
reasons.]

  Out of nothing more that idle curiosity, I am looking a utility
  which can display the time from several internet time servers at
  once.  I also need to be able to set which time servers it
  interrogates.

  Anyone come across such a utility please?

  ntpdate comes to mind, but it could just be a Unix phenomena.  If you
  search on Network Time Protocol (NTP) you will see much.  ntpdate is
  a suite of client/server programs to do all this stuff.

[...]

The ntpdate [1] version I use seems to come from the ntp.org
package [2], apparently developed by the developers of the NTP
protocol itself.

Ordinarily, ntpdate(8) is used to set the system's clock to the
time obtained by (AIUI) averaging (with weights) the times
reported by the servers specified.  However, when started as
follows, it can show the difference without setting time:

$ /usr/sbin/ntpdate -uvq 0.debian.pool.ntp.org 1.debian.pool.ntp.org ... 

And if the debugging mode is also set (with -d), it shows the
individual times reported, too.

[1] http://en.wikipedia.org/wiki/Ntpdate
[2] http://ntp.org/downloads.html

-- 
FSF associate member #7257  http://sf-day.org/

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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Kennedy, Paul
Ivan,
That tool would be ntpd. 

Just add all the servers you want to monitor, restart ntp and then run ntpq -p 
to see them all lined up.

You can log the data to peerstats files to a file and make long term plots.  

Regards


- Original Message -
From: questions-bounces+p.kennedy=fugro.com...@lists.ntp.org 
questions-bounces+p.kennedy=fugro.com...@lists.ntp.org
To: questions@lists.ntp.org questions@lists.ntp.org
Sent: Tue Aug 28 18:45:00 2012
Subject: Re: [ntp:questions] NTP time compare util

 telsar  no...@nowhere.com writes:
 On 8/24/2012 7:52 AM, Harry Bloomfield wrote:

[Cross-posting to news:comp.protocols.time.ntp, for obvious
reasons.]

  Out of nothing more that idle curiosity, I am looking a utility
  which can display the time from several internet time servers at
  once.  I also need to be able to set which time servers it
  interrogates.

  Anyone come across such a utility please?

  ntpdate comes to mind, but it could just be a Unix phenomena.  If you
  search on Network Time Protocol (NTP) you will see much.  ntpdate is
  a suite of client/server programs to do all this stuff.

[...]

The ntpdate [1] version I use seems to come from the ntp.org
package [2], apparently developed by the developers of the NTP
protocol itself.

Ordinarily, ntpdate(8) is used to set the system's clock to the
time obtained by (AIUI) averaging (with weights) the times
reported by the servers specified.  However, when started as
follows, it can show the difference without setting time:

$ /usr/sbin/ntpdate -uvq 0.debian.pool.ntp.org 1.debian.pool.ntp.org ... 

And if the debugging mode is also set (with -d), it shows the
individual times reported, too.

[1] http://en.wikipedia.org/wiki/Ntpdate
[2] http://ntp.org/downloads.html

-- 
FSF associate member #7257  http://sf-day.org/

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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Steve Kostecke
On 2012-08-28, Ivan Shmakov oneing...@gmail.com wrote:
 telsar  no...@nowhere.com writes:
 On 8/24/2012 7:52 AM, Harry Bloomfield wrote:

   [Cross-posting to news:comp.protocols.time.ntp, for obvious
   reasons.]

  Out of nothing more that idle curiosity, I am looking a utility
  which can display the time from several internet time servers at
  once.  I also need to be able to set which time servers it
  interrogates.

  Anyone come across such a utility please?

Use ntpd + ntpq.

ntpd polls your chosen time servers and determine which is aparently the
best. ntpd continuously steers your system clock towards the chosen
time server.

ntpq can be used to display the differences between the time servers
polled by ntpd. 

-- 
Steve Kostecke koste...@ntp.org
NTP Public Services Project - http://support.ntp.org/

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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Chris Albertson
   I am looking a utility
   which can display the time from several internet time servers at
   once.  I also need to be able to set which time servers it
   interrogates.


As others have said, NTP itself is the best at doing this.  I can't think
of anything else that could work reasonably well.

Chris Albertson
Redondo Beach, California
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread David Woolley

Steve Kostecke wrote:


ntpd polls your chosen time servers and determine which is aparently the
best. ntpd continuously steers your system clock towards the chosen
time server.


Unless it has changed recently, it steers towards an average of all the 
servers that haven't been eliminated.  The best one is only used to 
set the stratum and the downstream error statistics (root distance, and 
root dispersion).


At one time the averaging was weighted.  I'm not completely sure if even 
that is true, now.


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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Steve Kostecke
On 2012-08-28, David Woolley david@ex.djwhome.demon.invalid wrote:

 Steve Kostecke wrote:

 ntpd polls your chosen time servers and determine which is aparently
 the best. ntpd continuously steers your system clock towards the
 chosen time server.

 Unless it has changed recently, it steers towards an average of all
 the servers that haven't been eliminated. The best one is only used
 to set the stratum and the downstream error statistics (root distance,
 and root dispersion).

 At one time the averaging was weighted. I'm not completely sure if
 even that is true, now.

*plonk*

-- 
Steve Kostecke koste...@ntp.org
NTP Public Services Project - http://support.ntp.org/

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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Ivan Shmakov
 Steve Kostecke koste...@ntp.org writes:
 On 2012-08-28, Ivan Shmakov oneing...@gmail.com wrote:
 telsar  no...@nowhere.com writes:
 On 8/24/2012 7:52 AM, Harry Bloomfield wrote:

[...]

  Out of nothing more that idle curiosity, I am looking a utility
  which can display the time from several internet time servers at
  once.  I also need to be able to set which time servers it
  interrogates.

[...]

  Use ntpd + ntpq.

  ntpd polls your chosen time servers and determine which is aparently
  the best. ntpd continuously steers your system clock towards the
  chosen time server.

  ntpq can be used to display the differences between the time servers
  polled by ntpd.

Unless I be mistaken, there's no option for ntpd(8) /not/ to set
the system clock.  This means that (in contrast to ntpdate(8)),
running ntpd(8) requires the respective privileges, which are
unlikely to be available when running under an ordinary user
account, or on a virtual server instance.  (As in: to report
the problem with the system clock being incorrectly set to the
support.)

-- 
FSF associate member #7257  http://sf-day.org/

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


Re: [ntp:questions] NTP time compare util

2012-08-28 Thread Harlan Stenn
The point is that ntpd is probably running on all the boxes anyway, and
ntpq can be used to collect the data from all of them.

I would suggest also looking at using sntp (from ntp-dev) to do the
monitoring, but it will want to talk to ntpd on the remote systems.

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