On 05/03/2010 03:05 PM, Merrill Oveson wrote:
> I've got ntpd running, and I guess it's querying the time servers out
> and syncing the time.
> 
> Question:  How can I verify this?

I presume you're using the standard ntpd program, (often called xntpd)
and not OpenBSD's OpenNTP.  I typically use the ntpdc utility.  The
command you would use is "peers".  For example:
ntpdc> peers
     remote           local      st poll reach  delay   offset    disp
=======================================================================
=tick.phyber.com 192.168.105.100  1  128  377 0.01944  0.000433 0.10852
=ntp.pbx.org     192.168.105.100  2  128  377 0.08675  0.017318 0.08217
=coil.fireduck.c 192.168.105.100  2  128  377 0.07645  0.015221 0.09303
*tock.byu.edu    192.168.105.100  1   64  377 0.00163  0.000169 0.05141
=tick.byu.edu    192.168.105.100  1   64  377 0.00069  0.000375 0.06639

As you can see, my computer is currently in sync with with tock.byu.edu,
a stratum 1 server.  Stratum one means tock.byu.edu is a primary time
source, most likely a GPS radio receiver.

This also means my computer is now a stratum 2 source and other
computers could sync against it if they wished (firewall-permitting of
course).

> Second Question: what is ntp-client used for.  I can't seem to find a
> good answer on the internet.  Do I even need this?

What distro?  Maybe it's just the ntpdate command, for use with a cron,
rather than a daemon process that continually syncs the clock and lets
other computers sync against your computer.

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to