Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ntp [2019/06/19 16:11] tmadelinux:ntp [2020/07/08 17:42] (current) tmade
Line 7: Line 7:
 Commands: Commands:
  
-  ntptrace                  #Show sync stats +  ntptrace                                                   #Show sync stats 
-  watch -n1 -d ntptrace     #Show continiously sync stats +  watch -n1 -d ntptrace                                      #Show continiously sync stats 
-  ntpq -p                   #NTP query program +  ntpq -p                                                    #NTP query program 
-  ntpq -pn                  #NTP query program. showing IP instead of DNS name+  ntpq -pn                                                   #NTP query program. showing IP instead of DNS name 
 +  ntpdate -s time.server.com && /sbin/hwclock --systohc 
 +  ntpdate -b time.server.com                                 #force sync - ntpd has to been switched off during sync!
      
 "offset": "offset":
  
-Shows timedifference between reference time (timeserver) and system time+Shows timedifference between reference time (timeserver) and system time (OS)
  
 "jitter": "jitter":
  
-Gibt die Größenordnung der Schwankungen zwischen einzelnen Zeitvergleichen an.+Indicates the magnitude of the fluctuations between individual time comparisons 
 + 
 +(worst case) Example: 
 + 
 +<code> 
 +[root@testsap ~]# ntpq -pn 
 +     remote           refid      st t when poll reach   delay   offset  jitter 
 +============================================================================== 
 +*10.200.1.11     192.168.47.125    4 u  652 1024  377    0.545    0.944   1.939 
 ++10.200.1.12     192.168.47.126    5 u  705 1024  377    0.469    1.579   3.187 
 ++10.200.1.13     192.168.47.12     6 u  592 1024  377    0.342    2.999  22.494 
 +</code> 
      
 Check from a Linux-Client: Check from a Linux-Client:
linux/ntp.txt · Last modified: 2020/07/08 17:42 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki