Network Time (ntp): Difference between revisions

From JCWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
     remote          refid      st t when poll reach  delay  offset jitter<br>10.1.4.5        66.187.233.4    2 u    4  64    1    0.317  876558.  0.000
     remote          refid      st t when poll reach  delay  offset jitter<br>10.1.4.5        66.187.233.4    2 u    4  64    1    0.317  876558.  0.000
<br>
<br>
</ol>
<ol start="4">
<ol start="4">
<li>[root@quar1 /vz/private]# date</li>
<li>[root@quar1 /vz/private]# date</li>

Revision as of 07:54, 13 October 2012

  1. see if its connected:
[root@quar1 /vz/private]# ntpq -pn
ntpq: read: Connection refused
not running
  1. start it:
  2. [root@quar1 /vz/private]# service ntpd start
    Starting ntpd: [ OK ]
  1. Query the NTP Server to see if it is paired
  2. [root@quar1 /vz/private]# ntpq -pn remote refid st t when poll reach delay offset jitter
    10.1.4.5 66.187.233.4 2 u 4 64 1 0.317 876558. 0.000
  1. [root@quar1 /vz/private]# date
  2. Thu Oct 11 10:58:05 PDT 2012
time is 11:13