Pages

Tuesday, August 7, 2012

Hardware Clock


The hwclock is a utility which is used to query and set the hardware clock on a system. When executing the hwclock utility without parameters, the command will print the current time from hardware clock to standard output.

The last numeric in result of hwclock means the difference between the displayed hardware time and the startup time of the "hwclock" command.

For example:

# hwclock
Tue 13 May 2008 05:54:23 PM CST -0.026587 seconds

In above example, the difference between the hardware time and startup time of hwclock is -0.026587 seconds.

Happy learning