Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:ntp [2019/06/19 16:17]
tmade
linux: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":
linux/ntp.1560953860.txt.gz · Last modified: 2019/06/19 16:17 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