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

Thanks
Jatin

Search Discussions

  • Wahyu Darmawan at Apr 15, 2010 at 8:42 am
    You can use /var/log/messages info for your synchronized time server.

    On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey 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 at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Timo Schoeler at Apr 15, 2010 at 8:46 am

    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 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
  • Jobst Schmalenbach at Apr 16, 2010 at 2:51 am

    On Thu, Apr 15, 2010 at 03:42:22PM +0700, Wahyu Darmawan (wahyu.darmawan at gmail.com) wrote:
    You can use /var/log/messages info for your synchronized time server.
    That is only for the standard config, if you inherit
    machines this could be in /var/log/ntp.log or something
    as you can specify e.g. "-l /var/log/ntp.log"

    A better way would be

    ps -Afw | grep ntp


    Jobst


    On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey 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 at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    --
    Why don't sheep shrink when it rains?
    0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager
    0| Barrett Consulting Group P/L & The Meditation Room P/L
    0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
  • John R Pierce at Apr 15, 2010 at 8:55 am

    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'
  • Jatin Davey at Apr 15, 2010 at 9:10 am
    Thanks for all the support , i found that i dont have the ntp daemon
    running on my box which will contact the server. once i have it i could
    use the support provided.

    Thanks
    Jatin
    On 4/15/2010 2:25 PM, John R Pierce wrote:
    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 at centos.org
    http://lists.centos.org/mailman/listinfo/centos

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedApr 15, '10 at 8:40a
activeApr 16, '10 at 2:51a
posts6
users5
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase