Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 14:45:54 -0700
From:      "David Brodbeck" <gull@gull.us>
To:        "Ed Flecko" <edflecko@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to confirm/deny ntp is working?
Message-ID:  <9c383d62ef38191fd3a77eded9d96628.squirrel@www.gull.us>
In-Reply-To: <AANLkTinyo=_Hf27vaqqBUc8523v5Z%2BG5HcPXrG9KsHqG@mail.gmail.com>
References:  <AANLkTinyo=_Hf27vaqqBUc8523v5Z%2BG5HcPXrG9KsHqG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, August 2, 2010 1:23 pm, Ed Flecko wrote:
> 3.) How do you confirm that FreeeBSD is, in fact, keeping time?

Run ntpq, then type "peers" at the prompt.

You should see some peers listed.  If ntp's been running for a while, one
of them should have an asterisk next to it (this is the one with which the
system is currently synchronizing) and the "offset" column should show a
fairly small number, usually within +/- 100 ms.  For example, here's the
output from my machine:

     remote           refid      st t when poll reach   delay   offset 
jitter
==============================================================================
+cheezum.mattnor 24.56.178.140    2 u  803 1024  377   79.195  -39.637  
7.575
*dione.cbane.org 66.220.9.122     2 u  844 1024  377   34.034  -41.063  
8.513
 LOCAL(0)        .LOCL.          10 l   45   64  377    0.000    0.000  
0.004







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c383d62ef38191fd3a77eded9d96628.squirrel>