hack のためのネタ帳, etc,,,

参考になるページ等
  • ubuntu manual / 16.04 LTS / hwclock(8) # Note # Automatic Hardware Clock Synchronization by the Kernel
によると、
the kernel's time_status variable の bit 6 (ビットマスクは 0x0040)が unset だとこのモードになっているらしい。
これは adjtimex --print または ntptime コマンドの status 行で確認出来る。
日本語訳は「第 64 ビット」とかいう意味不明な誤訳が蔓延しているので要注意。
timedatectl コマンドで分かる模様
$ timedatectl 
      Local time: 木 2017-10-05 20:30:43 JST
  Universal time: 木 2017-10-05 11:30:43 UTC
        RTC time: 木 2017-10-05 11:30:43
       Time zone: Asia/Tokyo (JST, +0900)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode can not be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.
タグ

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Wiki内検索

フリーエリア

管理人/副管理人のみ編集できます