硬件时间与系统时间

硬件时间是只bios里面的时间,系统时间是kernel中的时钟,所有系统执行的命令和函数都是依照系统时钟而设定,当Linux启动时,系统时钟会去读取硬件时钟的设定,之后系统时钟即独立运作。hwclock -s   :Set the System Time from the Hardware Clock即同步系统时间。 hwlock -w  :Set the Hardware Clock to the current System Time即同步硬件时间。

你可能感兴趣的:(硬件时间与系统时间)