SCIENTIFIC-LINUX-USERS Archives

October 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Vladimir Mosgalin <[log in to unmask]>
Reply To:
Vladimir Mosgalin <[log in to unmask]>
Date:
Wed, 3 Oct 2012 13:32:21 +0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Hi g!

 On 2012.10.03 at 05:09:32 +0000, g wrote next:

> in unix, there is a file, name of which i do not recall, used as a
> 'clock factor' and controls the 'tick rate' for the system clock.
> 
> is such a file used in scientific linux and what is it's name?
> 

It's called /etc/adjtime

The way it works is documented in adjtimex (2) call. During system boot,
contents of file is used for adjtimex call to remind freshly boot kernel
about correct tick rate (usually by means of calling "hwclock"), and on
shutdown new correction to tick rate is written there.

Additionaly, ntp daemons use that call and do correction job, too.

-- 

Vladimir

ATOM RSS1 RSS2