This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:ntp [2019/06/19 15:53] – tmade | linux:ntp [2020/07/08 17:42] – tmade | ||
---|---|---|---|
Line 7: | Line 7: | ||
Commands: | Commands: | ||
- | ntptrace | + | ntptrace |
- | watch -n1 -d ntptrace | + | watch -n1 -d ntptrace |
- | ntpq -p | + | ntpq -p #NTP query program |
- | ntpq –pn #NTP query program. showing IP instead of DNS name | + | ntpq -pn |
+ | ntpdate -s time.server.com && / | ||
+ | ntpdate -b time.server.com | ||
| | ||
" | " | ||
- | Shows timedifference between reference time (timeserver) and system time | + | Shows timedifference between reference time (timeserver) and system time (OS) |
" | " | ||
- | Gibt die Größenordnung der Schwankungen zwischen einzelnen Zeitvergleichen an. | + | Indicates the magnitude of the fluctuations between individual time comparisons |
+ | |||
+ | (worst case) Example: | ||
+ | |||
+ | < | ||
+ | [root@testsap ~]# ntpq -pn | ||
+ | | ||
+ | ============================================================================== | ||
+ | *10.200.1.11 | ||
+ | +10.200.1.12 | ||
+ | +10.200.1.13 | ||
+ | </ | ||
| | ||
Check from a Linux-Client: | Check from a Linux-Client: |