Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Re: [SLE] ntp update frequency
- From: "Hylton Conacher(ZR1HPC)" <hylton@xxxxxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 14:40:56 +0000 (UTC)
- Message-id: <4549F8D9.8050107@xxxxxxxxxxxxxx>
Darryl Gregorash wrote:
<snip>
to be the one part of my Linux system I 'can control' and know how it
works. :)
2 Nov 15:32:20 ntpd[4652]: synchronized to LOCAL(0), stratum 10
2 Nov 15:32:20 ntpd[4652]: kernel time sync disabled 0041
2 Nov 15:33:25 ntpd[4652]: synchronized to 202.135.38.18, stratum 2
2 Nov 15:33:25 ntpd[4652]: kernel time sync enabled 0001
Besides the 'kernel time sync disabled/enabled messages, to me it looks
like the clock is being synced. Would I be right?
On 01/11/06 08:55, Hylton Conacher(ZR1HPC) wrote:It would seem so or it was too late to be reading it :)
Carlos E. R. wrote:
The fact that the daemon doesn't log anything doesn't mean that it
hasn't checked the time in the interval. It may have done it hundreds
of times for all you know.
And you can not modify when ntp sees fit to check the time.
This ^^^^ ............
.....answers my question about changing its frequency between updates.
Did I put you into information overload with my first reply?
You canMine doesn't look like yours :) see below.
change the frequency of updates, if you add maxpoll (and maybe also
minpoll) options to the server directives in /etc/ntp.conf. I don't,
however, think that what you describe is an excessively long update
interval. What you are seeing is probably just the hourly log of current
clock stats by ntp, lines like this one:
1 Nov 13:57:04 ntpd[6769]: offset 0.002634 sec freq 80.858 ppm error
0.010031 poll 9
<snip>
No, I am just fanatical about the time I send messages and it would seem
Is there actually anything at all that suggests to you that your system
time is not being properly kept?
to be the one part of my Linux system I 'can control' and know how it
works. :)
From the /var/log/ntp file I have extracted the below snapshot:
If this configuration is not available, what command could I issue to
initiate an ntp time check against the internet ntp servers ie after I
have enabled the net connection?
Do not use the ntp daemon unless your connection is permanent.
I hear you however I do have an ADSL cnx. I am a very cautious person
and I shut the machine down each night mainly due to unreliable power.
When I start the machine in the morning, I leave kinternet connected
so that the ntp daemon can sync. When I see it has I 'hang-up' on
kinternet.
How are you determining that the system clock has been synced to any
external source?
2 Nov 15:32:20 ntpd[4652]: synchronized to LOCAL(0), stratum 10
2 Nov 15:32:20 ntpd[4652]: kernel time sync disabled 0041
2 Nov 15:33:25 ntpd[4652]: synchronized to 202.135.38.18, stratum 2
2 Nov 15:33:25 ntpd[4652]: kernel time sync enabled 0001
Besides the 'kernel time sync disabled/enabled messages, to me it looks
like the clock is being synced. Would I be right?
| < Previous | Next > |