我有 CentOS,当我date
在 shell 中运行命令时,它会返回如下内容:
格林威治标准时间 2011 年 4 月 28 日星期四 14:08:20
但是 cron 作业在 PST 时间运行。如果我指定
15 7 * * * 命令
它将在 7 PST 而不是 7 GMT 运行。请告诉我为什么会这样。
谢谢
hwclock 命令的输出:
/usr/sbin/hwclock --utc
无法通过任何已知方法访问硬件时钟。
使用 --debug 选项查看我们搜索访问方法的详细信息。
当我使用 debug:
/usr/sbin/hwclock --debug
hwclock from util-linux-2.13-pre7 hwclock: Open of /dev/rtc failed, errno=2: No such file or directory 运行时。找不到可用的时钟接口。无法通过任何已知方法访问硬件时钟
我在系统日志中收到这样的消息。
rsyslogd-2177: imuxsock lost 21869 messages from pid 3418 due to rate-limiting
rsyslogd-2177: imuxsock begins to drop messages from pid 3427 due to rate-limiting
Run Code Online (Sandbox Code Playgroud)
我的服务器在最近几天变得没有响应,我必须重新启动机器 2-3 次。
请让我知道这些消息可能是什么,以及这些消息是否可能是服务器停机的原因。