Hạnh Nguyễn
Member
How do I find my NTP server Linux?
Answer
The ntpstat command will report the synchronisation state of the NTP daemon running on the local machine.
…
exit status of ntpstat command
Answer
The ntpstat command will report the synchronisation state of the NTP daemon running on the local machine.
…
exit status of ntpstat command
- If exit status 0 – Clock is synchronised.
- exit status 1 – Clock is not synchronised.
- exit status 2 – If clock state is indeterminant, for example if ntpd is not contactable.