Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Viewing the NTP Server configured (http://www.linux-archive.org/centos/357237-viewing-ntp-server-configured.html)

Jatin Davey 04-15-2010 08:40 AM

Viewing the NTP Server configured
 
How do i know which NTP server is my linux box contacting to synchronize
its time with that of the server ?

Thanks
Jatin
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Wahyu Darmawan 04-15-2010 08:42 AM

Viewing the NTP Server configured
 
You can use /var/log/messages info for your synchronized time server.


On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey <jashokda@cisco.com> wrote:
> How do i know which NTP server is my linux box contacting to synchronize
> its time with that of the server ?
>
> Thanks
> Jatin
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Timo Schoeler 04-15-2010 08:46 AM

Viewing the NTP Server configured
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thus Wahyu Darmawan spake:
> You can use /var/log/messages info for your synchronized time server.
>
>
> On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey <jashokda@cisco.com> wrote:
>> How do i know which NTP server is my linux box contacting to synchronize
>> its time with that of the server ?
>>
>> Thanks
>> Jatin

A detailed listing can be created by issuing

ntpq -c peers

HTH,

Timo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLxtJ/fg746kcGBOwRAspGAKCh9oEN8Z3VVUs5kHZWHGF9+A2TJwCguL 1x
ym6hEQDMhszijZ0eyF/2va4=
=Dd+P
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

John R Pierce 04-15-2010 08:55 AM

Viewing the NTP Server configured
 
Jatin Davey wrote:
> How do i know which NTP server is my linux box contacting to synchronize
> its time with that of the server ?
>

$ /usr/sbin/ntptrace
localhost: stratum 3, offset 0.000017, synch distance 0.07758
io.sf.netdot.net: stratum 2, offset 0.000548, synch distance 0.04774
bigben.cac.washington.edu: stratum 1, offset -0.001988, synch distance
0.00060, refid 'USNO'



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 09:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.