od RoliD » pát 24. srp 2018 15:34:21
Zjištění statusu:
- 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:
Manuální synchronizace:
Kód: Vybrat vše
systemctl stop ntpd
ntpd -gq
systemctl start ntpd
Zjištění statusu:
[code]ntpq -p
[/code]
[ul]
[li]remote and refid: remote NTP server, and its NTP server[/li]
[li]st: stratum of server[/li]
[li]t: type of server (local, unicast, multicast, or broadcast)[/li]
[li]poll: how frequently to query server (in seconds)[/li]
[li]when: how long since last poll (in seconds)[/li]
[li]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[/li]
[li]delay: network round trip time (in milliseconds)[/li]
[li]offset: difference between local clock and remote clock (in milliseconds)[/li]
[li]jitter: difference of successive time values from server (high jitter could be due to an unstable clock or, more likely, poor network performance) [/li]
[/ul]
Zjištění zda je synchronizováno:
[code]ntpstat[/code]
Manuální synchronizace:
[code]systemctl stop ntpd
ntpd -gq
systemctl start ntpd[/code]