Stránka 1 z 1

Centos a NTP

Napsal: pát 24. srp 2018 15:34:21
od RoliD
Zjištění statusu:

Kód: Vybrat vše

ntpq -p 
  • remote and refid: remote NTP server, and its NTP server
  • st: stratum of server
  • t: type of server (local, unicast, multicast, or broadcast)
  • poll: how frequently to query server (in seconds)
  • when: how long since last poll (in seconds)
  • reach: octal bitmask of success or failure of last 8 queries (left-shifted); 377 = 11111111 = all recent queries were successful; 257 = 10101111 = 4 most recent were successful, 5 and 7 failed
  • delay: network round trip time (in milliseconds)
  • offset: difference between local clock and remote clock (in milliseconds)
  • jitter: difference of successive time values from server (high jitter could be due to an unstable clock or, more likely, poor network performance)

Zjištění zda je synchronizováno:

Kód: Vybrat vše

ntpstat
Manuální synchronizace:

Kód: Vybrat vše

systemctl stop ntpd

ntpd -gq

systemctl start ntpd