19.14. NTP ステータスの確認
ntpd
が実行中で、システム起動時に実行される設定になっていることを確認するには、以下のコマンドを発行します。
~]$ systemctl status ntpd
~]$ systemctl status ntpd
ntpd
から簡単なステータスレポートを取得するには、以下のコマンドを発行します。
~]$ ntpstat unsynchronised time server re-starting polling server every 64 s
~]$ ntpstat
unsynchronised
time server re-starting
polling server every 64 s
~]$ ntpstat synchronised to NTP server (10.5.26.10) at stratum 2 time correct to within 52 ms polling server every 1024 s
~]$ ntpstat
synchronised to NTP server (10.5.26.10) at stratum 2
time correct to within 52 ms
polling server every 1024 s