Mailinglist Archive: opensuse (4498 mails)

< Previous Next >
Re: [SLE] ntp update frequency
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 1 Nov 2006 16:05:33 +0000 (UTC)
  • Message-id: <Pine.LNX.4.64.0611011655590.20280@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Wednesday 2006-11-01 at 16:55 +0200, Hylton Conacher(ZR1HPC) wrote:

> > > >Using the command of 'watch -n 1 tail -10 /var/log/ntp' I see that the
> >
> > Use "tail -f /var/log/ntp" or "tailf /var/log/ntp" instead
> I initially started with tail and tailf but I find that then the displayed log
> grows as each entry is added. With 'watch the cli I am using the displayed log
> is a max of 10 lines and it is updated every second.

So what? The excess text flow up out of sight. Only if you need it, you
can browse back, and some terminals let you customize how much back goes
the buffer.

And, the watch command causes disk and cpu activity.


> > And you can not modify when ntp sees fit to check the time.
> This ^^^^
> answers my question about changing its frequency between updates.

Actually, you can somewhat, it is on the docs somewhere. But you _really_
do not need to do it. You need much deeper understanding of how ntp works
internally before changing those parameter with hope of improving the
defaults.

It checks much more often that the log apears to show.


> > > >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.

If you hang-up kinternet, you break ntp. As you have adsl, leave the
connection up for as long as your computer is powered up. Actually, do
whatever needs to be done so that you do not need to login to connect.

ntp is designed to be working continuosly. If it has no connection it will
fail its purpose. When you power off the computer it will be stopped,
that's fine.

- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFSMWztTMYHG2NR9URAhCmAJ4op5ZU8ZxLJ5QQ/NBVTAK3l9Pu6gCfXfsL
OVWkkhfJBEWJOtOAlV0jHbs=
=mrBa
-----END PGP SIGNATURE-----


< Previous Next >
List Navigation