ntpdate(1) の使用例

概要

NTPサーバの時刻へ強制設定するコマンドツール。

使い方

時刻設定する(設定前にntpdの停止を確認)
[root@localhost ~]# service --status-all | grep ntpd
rndc: connect failed: 127.0.0.1#953: connection refused
ntpd は停止しています
[root@localhost ~]# ntpdate foo.hoo.co.jp
11 Aug 10:36:27 ntpdate[3429]: adjust time server ***.***.***.*** offset -0.000301 sec
[root@localhost ~]#
以上

コメント