[ntp:questions] NTP time compare util

Kennedy, Paul P.Kennedy at fugro.com.au
Tue Aug 28 12:25:45 UTC 2012

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.  


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

>>>>> telsar  <noone at nowhere.com> writes:
>>>>> On 8/24/2012 7:52 AM, Harry Bloomfield wrote:

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

 >> 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 at lists.ntp.org

More information about the questions mailing list