[ntp:questions] Re: How to snchronize vsntp with NTP server

Brian Inglis Brian.Inglis at SystematicSW.Invalid
Mon Mar 7 18:24:32 UTC 2005

fOn 7 Mar 2005 04:34:50 -0800 in comp.protocols.time.ntp,
arvindsd at yahoo.com wrote:

>I am a beginner with vsntp and NTP server.
>On a Linux machine I started the NTP Server, installed vsntp and
>configured it with the running NTP Server.
Are you running vsntp under Linux running under MS Virtual PC? That is
what it's designed for: syncing MS Virtual PC time to real time, as
the emulated time is too variable to run NTP. You could also run rdate
or any of it's ({S}NTP client) relatives under cron for the same

>Will the system time clock show the correct time now? And that there
>will not be any drift in time?
If you are running NTP and vsntp under the same level/instance of
Linux, don't do that; NTP keeps the system clock time correct, if it's
in contact with higher stratum servers, and run for long enough to

>How do can I display the correct time down to milli seconds with vsntp?
First check that NTP is maintaining the real system time correctly by
monitoring with ntpq; then check that vsntp is maintaining the virtual
system time correctly by issuing the date command in a virtual system
shell; to get greater resolution, you'll need to write your own C
program to display high resolution time using e.g. gettimeofday(3). 

Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada

Brian.Inglis at CSi.com 	(Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
    fake address		use address above to reply

More information about the questions mailing list