查看当前系统时间

[root@centos64 ~]# date 

查看硬件时间

[root@centos64 ~]# hwclock --show

同步时间可以用:ntpdate us.pool.ntp.org,需要联网。如果没有安装ntpdate的可以yum一下:yum install -y ntpdate。

将系统时间写入到系统硬件当中

[root@centos64 ~]# hwclock -w

相关文章: