Time difference between software clock and hardware clock
October 6th, 2009
For almost all the servers there is time difference between the sofware clock and the hardware clock. This you can check with the following commands from the shell
root@svr83 [~]# date
Sun Jan 1 22:56:06 CST 2006
root@svr83 [~]# hwclock
Sun 01 Jan 2006 11:57:41 PM CST -0.166899 seconds
For syncing hardware clock to the software clock we can give the following command at the shell
root@svr83 [~]# hwclock -w
After giving the above command we can see
root@svr83 [~]# hwclock
Sun 01 Jan 2006 10:59:09 PM CST -0.828116 seconds
root@svr83 [~]# date
Sun Jan 1 22:59:16 CST 2006
After giving the above command please don’t forget to restart the crond service.