Marketplace:

 
Cheap web hosting provider with extensive free web hosting features
Register or buy domain name, include free email and domain forwarding services
Cheap and affordable domain name registration and domain name transfer from $2.95/yr

 

   

Hardware Clock Drift

next up previous contents index

The hwclock command provides the interface to the hardware clock. If you are wanting to ensure the correct time then with a default Debian set up it is recommended that you use ntp instead if you can. When you reboot the system will save the current correct time to the hardware clock.

Anyhow, the --adjust option of the hwclock command checks information stored in the configuration file /etc/adjtime and makes an actual correction to the time stored in the hardware clock to account for the drift that it (the hwclock utility) has been monitoring. (Each time you set the hardware clock with the hwclock command the current time is compared to the previous time it was corrected to determine the amount of drift.) Thus, when setting the system clock from the hardware clock it is advisable to do the following:



# hwclock --adjust
# hwclock --hctosys


When updating the hardware clock from an accurate system clock do:



# hwclock --systohc



next up previous contents index


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " There are 10 kinds of people in the world, those that understand binary and those that don't.   "  

Tuesday 22 May 2012 05:36:41 1337665001