Re: [chrony-dev] Replacement for ntpdate?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Fri, Aug 27, 2010 at 02:26:41PM +0200, Miroslav Lichvar wrote:
> On Thu, Aug 26, 2010 at 04:48:10PM +0200, Frank Muzzulini wrote:
> > For years now ntpdate is deprecated for, but I still use it. It does
> > two things that can not be done otherwise:
> > 
> > 1. Sync the local clock once with a single command, without the
> > necessity to write a config file
> > 
> > 2. Determine the offset of the local clock compared to a time server
> > with a single command (option -q).
> > 
> > Would it be desirable to add these functions to chronyd?
> 
> I think it could be useful. The latest ntpd development versions allow
> servers to be specified on the command line and it has an ntpdate
> mode, maybe we could add something similar to chrony.

It took a bit longer, but it's now implemented in git. You can use
it like this:

# ./chronyd -q "server pool.ntp.org iburst"
2014-04-09T14:43:47Z chronyd version DEVELOPMENT starting
2014-04-09T14:43:47Z Initial frequency -13.273 ppm
2014-04-09T14:43:52Z System clock wrong by -0.321030 seconds (step)
2014-04-09T14:43:52Z chronyd exiting

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/