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

From: Robert P. J. Day (rpjday_at_mindspring.com)
Date: 01/30/04

  • Next message: Alexander Dalloz: "Re: Problem with instruktions from sensors-detect"
    To: Fedora List <fedora-list@redhat.com>
    Date: Fri, 30 Jan 2004 10:23:32 -0500 (EST)
    
    

      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?

    rday

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Alexander Dalloz: "Re: Problem with instruktions from sensors-detect"

    Relevant Pages

    • Re: [GIT PULL] Ext3 latency fixes
      ... as it also implies an immediate unplug of the device. ... So not only does it flag the priority as sync, ... They may be bulk, ... this effort at the filesystem level. ...
      (Linux-Kernel)
    • Re: 2.6.xx: dirty pages never being syncd to disk?
      ... It appears to cause an immediate "sync" of the file data ... Doing a "sync" or a second run of the program afterwards does ... int main (int argc, char *argv) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: how to use "ntpd" to emulate "ntpdate"?
      ... > and the sync was immediate. ... You may be misreading the documentation. ... a one shot bring the time into synchronization at boot time. ...
      (Fedora)
    • Re: iCal/E2004: how to force sync?
      ... frequently does iCal retrieve it? ... On my Mac it is almost immediate. ... And is there a way to sync them ... MVPs are not MS employees - Les MVP ne travaillent pas pour MS ...
      (microsoft.public.mac.office.entourage)
    • Re: ntp client over satellite and no CMOS battery
      ... or to both the responders and the list -- as I have done here. ... poster, and maybe also some of the other people who have responded in the past. ... Your application may care, but ntpd doesn't. ... timestamp for your application reasonably close, you might want to consider doing something like ntpdate and then checking to see if the time has been updated, and if not then sleep for a little while and try again, and keep doing that until you get your initial sync. ...
      (comp.protocols.time.ntp)