Christoph OttoFri May 13 02:45:43 PDT 2005
Jeff Newton wrote: > Hey Guys, > > can everyone give me a sorta rundown and tell me if my clock time on the > computer is being given correctly or not please?? > > Thanks - > > Jeff > _______________________________________________ > EUGLUG mailing list > euglug at euglug.org > http://www.euglug.org/mailman/listinfo/euglug > If you just want to find the difference, try rdate -p time-b.nist.gov && date The first value will be the "real" time and the second will be your system's. Alternately, using -s on rdate will let you set the system time to whatever the NTP server says it is. Note that there's also a battery-powered hardware clock on most (all?) computers that's not necessarily in sync with the system clock. After using rdate, run hwclock --systoch to get the hardware clock in sync with the (recently ntp synchronized) system clock. As a caveat, the careful user would get a more accurate result by choosing a geographically nearby NTP server instead of typing in stuff until something worked. Christoph