Re: how to use "ntpd" to emulate "ntpdate"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>

> 
>   until now, i've been using "ntpdate" to sync up the clock on my 
> (very mobile) laptop when i wanted to do it manually.  all that
> was necessary was:
> 
>   # ntpdate <some stratum 2 server>
> 
> and the sync was immediate.
> 
>   from the "ntpd" man page, however, ntpdate is deprecated and i can
> theoretically get the same effect with some variation of "ntpd -q".
> but i've tried that and the effect is (as the man page suggests) not
> immediate.  is there a way to have that sync take place immediately
> using "ntpd", rather than waiting for the next sync operation, to 
> more closely emulate the behaviour of ntpdate?
> 
>   or am i misreading the man page?

You may be misreading the documentation. "ntpdate" itself is handy for
a one shot bring the time into synchronization at boot time. Then you
run "ntp" itself to maintain synchronization with no more polls than it
finds are needed to maintain accurate time synchronization.

{^_^}




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux