[ntp:questions] ntpd -gq VS ntpdate -B

Harlan Stenn stenn at ntp.isc.org
Tue Apr 10 23:43:56 UTC 2007


>>> In article <1176216808.517213.274790 at w1g2000hsg.googlegroups.com>, "RICCARDO" <castellani.riccardo at tiscali.it> writes:

RICCARDO> If I use ntpd -gq in my client I should adjust time to little
RICCARDO> steps using adjtime system call, but what's difference with
RICCARDO> "ntpdate -B" ?

ntpdate is being deprecated.

ntpd -gq will set the time and exit.  If the difference is less than 128ms
the time will be slewed, if the difference is more the clock will be
stepped.

H




More information about the questions mailing list