我不知道为什么会发生这种情况,但当服务器启动时,日期/时间总是比实际时间早几个小时,但一段时间后就会自行修复。但这意味着我的初始启动日志是以错误的顺序写入的。这是在 ESXi 6.7 下运行的虚拟机
例如,请考虑我在启动后立即执行的以下 shell 命令。初始时间戳都是错误的,直到不久后它们被神奇地纠正。我的 root 和所有用户的时区都是 UTC。
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
user@server:~$ while true
> do
> date
> sleep 1
> done
Thu Feb 22 12:21:03 AM UTC 2024
Thu Feb 22 12:21:04 AM UTC 2024
Thu Feb 22 12:21:05 AM UTC 2024
Thu Feb 22 12:21:06 AM UTC 2024
Thu Feb 22 12:21:07 AM UTC 2024
Thu Feb 22 12:21:08 AM UTC 2024
Thu Feb 22 12:21:09 AM UTC 2024
Thu Feb 22 12:21:10 AM UTC 2024
Thu Feb 22 12:21:11 AM UTC 2024
Thu Feb 22 12:21:12 AM UTC 2024
Thu Feb 22 12:21:13 AM UTC 2024
Thu Feb 22 12:21:14 AM UTC 2024
Thu Feb 22 12:21:15 AM UTC 2024
Thu Feb 22 12:21:16 AM UTC 2024
Thu Feb 22 12:21:17 AM UTC 2024
Thu Feb 22 12:21:18 AM UTC 2024
Thu Feb 22 12:21:19 AM UTC 2024
Thu Feb 22 12:21:20 AM UTC 2024
Thu Feb 22 12:21:21 AM UTC 2024
Thu Feb 22 12:21:22 AM UTC 2024
Wed Feb 21 07:38:13 PM UTC 2024
Wed Feb 21 07:38:14 PM UTC 2024
Wed Feb 21 07:38:15 PM UTC 2024
Wed Feb 21 07:38:16 PM UTC 2024
Wed Feb 21 07:38:17 PM UTC 2024
Wed Feb 21 07:38:18 PM UTC 2024