3

I want to compare the time used by our internal servers against time.microsoft.com. Is there an easy way to do this?

Basically a third party sends me messages stamped with a time that has been synced iwth time.microsoft.com, unfortunately our servers are using a different time server, so I want to calculate if there is a significant difference between the our NTP synced time, and theirs.

Is there a simple way to accurately compare times?

regards,

David.

2

In Linux, ntpdate -q will query a remote server. Nagios' check_ntp script essentially does this for monitoring.

In older versions of Windows, I'd used ported version of ntp before. If you require a Windows specific solution, someone else may be able to contribute further.

2

For Windows (XP & 2003 or above):

w32tm /stripchart /computer:time.windows.com

You'll need to be able to reach time.windows.com on port 123 UDP.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.