11
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Linuxで時刻を確認したい

Last updated at Posted at 2018-03-02

タイムゾーンの設定が出来ない仕様のOS(具体的にはESXi)が
ハードウェアクロック(BIOS時刻)に設定されているJSTの時刻を
そのままUTCとして取得してしまったので確認方法。

date
普通にOSの時刻を確認。
[結果]
Thu Mar 2 05:15:42 UTC 2017

hwclock
ハードウェアクロックを確認。
スーパーユーザーで実行する必要有。タイムゾーンの概念は無い模様。
[結果]
Fri Mar 2 14:16:50 2018 .698035 seconds

11
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?