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
Last revisionBoth sides next revision
linux:ntp [2019/06/19 16:17] tmadelinux:ntp [2020/07/08 17:42] 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 of during sync!
      
 "offset": "offset":
Line 20: Line 22:
 Indicates the magnitude of the fluctuations between individual time comparisons Indicates the magnitude of the fluctuations between individual time comparisons
  
-Example:+(worst case) Example:
  
 <code> <code>
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