help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] set time


From: Greg Wooledge
Subject: Re: [Help-bash] set time
Date: Fri, 14 Sep 2012 14:17:59 -0400
User-agent: Mutt/1.4.2.3i

On Fri, Sep 14, 2012 at 01:02:16PM -0500, address@hidden wrote:
> i thought ntpd would automatically adjust the time even if the server is 2 
> hours out of sync

It will try, but NTP's approach is to be subtle about it.  It normally
calls adjtime() or adjtimex() to cause a gradual adjustment of the clock
over time.  If the system clock is so far out of tune that the kernel's
adjtimex() routine can't keep up, then you'll fall farther and farther out
of sync, even with NTP running.  (At that point, you buy a new motherboard
or something.  Been there, done that.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]