keeping time

Michael R. Head burner at suppressingfire.org
Tue Mar 20 02:37:37 UTC 2007


On Mon, 2007-03-19 at 21:57 -0400, Jeffrey F. Bloss wrote:
> Mikus Grinbergs wrote:
> 
> > I have an Ubuntu 6.10 system running 24/7 which gains more
> > than two hours every week.
> > 
> > For the purposes of this discussion, assume that the system
> > has *no* external inputs -- only me at the console -- no
> > network connection of any kind.
> > 
> > What can I set_up / tweak so that the time being kept by
> > the system is more accurate ?
> 
> Welcome to a less than accurate real time clock being "read" in a way
> less than accurate fashion. Or not at all if you're never rebooting. ;)
> 
> I'm not sure how you might want to go about making anything close to
> "perfect" adjustments, but the command you're probably looking for is
> 'hwclock'. It can set your system time to "BIOS" time directly, and you
> should be able to use it to determine a fairly accurate rate of even
> hardware clock drift, and after that's known, to further adjust your
> time if needed.
> 
> man hwclock

Specifically, note the section about the "Adjust" section and how it
uses /etc/adjtime

Also check out the adjtimex package.

mike

> ...for more info.
> 
-- 
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070319/8483d514/attachment.bin>


More information about the ubuntu-users mailing list