Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 10:33:38 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: timekeeping on jail servers
Message-ID:  <DAA5178E-F67F-49C8-BE42-9BBA99F7B61F@mac.com>
In-Reply-To: <20071221132440.31ded74f.wmoran@potentialtech.com>
References:  <20071218165521.GA37529@bewilderbeast.blackhelicopters.org> <343753.78466.qm@web44811.mail.sp1.yahoo.com> <20071221112303.19619c39.wmoran@potentialtech.com> <7BEE288E7C218E96DB9E8AA0@jw-laptop.dhcp.lbnl.us> <20071221132440.31ded74f.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 21, 2007, at 10:24 AM, Bill Moran wrote:
>> ntpdate -B should slew the time slowly.  (According to the manpage.)
>
> Not generally suitable for cron because it can take longer to slew
> than it does for the next cron execution to occur, which would then
> result in multiple ntpdate programs fighting each other (not sure
> what the effect of this would be).

ntpdate -B calls adjtime(2) and then exits, rather than the process  
staying around; calling it a second time is fine but it isn't  
especially useful to keep running ntpdate via cron.

One should run ntpd instead unless the system in question is  
desperately short on memory and a ~1MB RSS process is a burden.

> If you ask me, the -B option is available for people who want to
> totally hose timekeeping on their system.

Somewhat.  :-)

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAA5178E-F67F-49C8-BE42-9BBA99F7B61F>