`ntpd`はハードウェアクロックを設定しますか?

`ntpd`はハードウェアクロックを設定しますか?

ntpdハードウェア時計を設定しますか?

オプションを渡すと、ハードウェアntpdクロックを設定しますか-q(ワンタイム修正を意味します)。

Linux 3.5.6、ntp 4.2.6.p5。

ここntpdは11分ごとにシステムクロックをハードウェアと同期していると言っていますが、ntpd mansはそれへの参照を見つけることができません。

ベストアンサー1

同様の質問が出ましたサーバー障害ネットワーク。これが答えです。

hwclockRHEL 4.6のマニュアルページから:

This mode (we'll call it "11 minute mode") is off until something turns it on.  The ntp
daemon  xntpd  is  one thing  that  turns  it on.  You can turn it off by running
anything, including hwclock --hctosys, that sets the System Time the old fashioned way.

To see if it is on or off, use the command adjtimex --print and look at the value of
"status".  If the "64" bit of this number (expressed in binary) equal to 0, 11 minute mode 
is on.  Otherwise, it is off.

したがって、実行中なので、hwclock --setおそらく電源を切っていたでしょう。同じトークンで出力を確認することでadjtimex --print確認できます。

おすすめ記事