Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 22:49:31 -0700
From:      Josef Grosch <jgrosch@ontario.mooseriver.com>
To:        "Art Neilson, KH7PZ" <art@hawaii.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: xntpd
Message-ID:  <19990626224931.B30926@ontario.mooseriver.com>
In-Reply-To: <3.0.6.32.19990626193742.0088b8b0@clients1.hawaii.rr.com>; from Art Neilson, KH7PZ on Sat, Jun 26, 1999 at 07:37:42PM -1000
References:  <3.0.6.32.19990626193742.0088b8b0@clients1.hawaii.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 26, 1999 at 07:37:42PM -1000, Art Neilson, KH7PZ wrote:
> How can I get xntpd to log it's activity?  My ntp.conf looks like so this.
> 
> server ntp.hawaii.edu prefer
> peer 192.168.0.2
> driftfile /etc/ntp.drift
> enable monitor
> statsdir /var/ntp
> statistics peerstats
> 
> I have a Win95 box connected to my FreeBSD gateway via 100Mb ether and
> want the Win95 box to sync to the FreeBSD box and the FreeBSD box to
> sync to the local university's time server.  The Win95 box is syncing
> just fine, however I can't tell what the FreeBSD box is doing.  I am
> not getting any logging and I want to see that it is indeed talking
> to the universities time server and is adjusting the clock accordingly.
> Can anyone tell me how I can achieve this?  

For example;

ontario% ntpq
ntpq> peer
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
+erie.mooseriver clepsydra.dec.c  2 u   77  256  376     0.70    2.123    3.01
*clepsydra.dec.c .GPS.            1 u   79  128  377   187.64    3.889   32.27
+ns.scruz.net    clepsydra.dec.c  2 u   94  128  377   187.30    3.392   50.51
 milo.mcs.anl.go mcs.anl.gov      3 u   69  128  377   243.13  -10.909  120.33
+archbald.gw.uiu argus.cso.uiuc.  2 u   17  128  377   245.68    7.616   33.60
+ns.unet.umn.edu navobs1.wustl.e  2 u    8  256  377   242.86    7.876   14.65
+nebu1-atm.ucsd. time.sdsc.edu    2 u   90  128  377   208.22    9.372   30.61
 huron.mooserive erie.mooseriver  3 -   9d 1024    0   -13.78  483.785 16000.0
 royle.mooserive ontario.mooseri  4 -   8d 1024    0    -0.12   -0.906 16000.0
ntpq> 


OR


ontario% xntpdc -p
     remote           local      st poll reach  delay   offset    disp
=======================================================================
=ns.unet.umn.edu 208.138.31.116   2  256  377 0.24286  0.007876 0.01465
=archbald.gw.uiu 208.138.31.116   2  128  377 0.24568  0.007616 0.03360
=ns.scruz.net    208.138.31.116   2  128  377 0.18730  0.003392 0.06152
+royle.mooserive 0.0.0.0          4 1024    0 -0.0001 -0.000906 16.0000
*clepsydra.dec.c 208.138.31.116   1  128  377 0.18764  0.003889 0.02304
+erie.mooseriver 208.138.31.116   2  256  377 0.00095  0.000779 0.00337
+huron.mooserive 0.0.0.0          3 1024    0 -0.0137  0.483785 16.0000
=nebu1-atm.ucsd. 208.138.31.116   2  128  377 0.20822  0.009372 0.16397
=milo.mcs.anl.go 208.138.31.116   3  256  377 0.24313 -0.010909 0.06866
ontario% 


Josef

-- 
Josef Grosch           | Another day closer to a |    FreeBSD 3.2
jgrosch@MooseRiver.com |   Micro$oft free world  | UNIX for the masses



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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