[ntp:questions] Re: OT: Linux and NTP

Marc A. Donges filter.marc.usenet-200212 at defiant.hadiko.de
Fri Nov 28 13:08:11 UTC 2003

Kurt wrote:
> Hello Ulrich,
> thank you for the answer.
>> Understand that UNIX/Linux time is sofware time. CMOS clock is just
>> some extra hardware.
> I understand it (I think so ;-)). I think, the command 'date' gives
> information about the software time. And if I launch the command
> 'date' on both machines in the same second, there is a difference of
> 21 seconds. But both servers are synchronized via NTP (see ntpq -p of
> the other posting).
> The problem gets even more mystical: If I ask my two NTP servers from
> a third machine (ntpdate -q), the time is the same on NTP server 1 and
> NTP server 2. But a 'date' on these two servers shows the time
> difference of 21 seconds - as mentioned. Please correct me, if I'm
> wrong with my assumptions.


If this is GNU date, try 'date +%s'.


  _ _    Marc A. Donges                      +49 721 6904-2130
  'v'    Klosterweg 28 / E110
 /   \   76131 Karlsruhe          PGP-Key(RSA): 1024R/429D9719
  W W                      http://www.hadiko.de/~marc/marc.asc

More information about the questions mailing list