Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

List time on all servers

Posted on 2013-05-23
4
Medium Priority
?
238 Views
Last Modified: 2013-05-28
Hi All

Is there a way I can either monitor the time on all my windows servers or take a regular list type report of the times on the servers at particular intervals during the day?   I am trying to see variances in times as some of our applications are time sensitive.

Thanks
0
Comment
Question by:Eric
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
Rich Weissler earned 1500 total points
ID: 39190950
Have you already looked at the built in w32tm command?  It has a monitor feature available.

alternately you can issue "net time //<computername>" and "net time //domain:<domainname>" to collect times.

I've not done it, but I'm sure you can collect the time in powershell as well.

Are the servers in question already in a single domain?  And/or Do you have your servers already configured to pull time from a common time source?
0
 

Author Comment

by:Eric
ID: 39191013
Hi Razmus

Thank you for your comments - I am aware of the w32tm and net time but they only display singular servers or in the case of using /domain it gives the DC with the PDC role.  I am not conversant with powershell at the moment so I don't know whether w32tm or net time could be put into a loop to catch all the servers and PCs on the network.

The computers are in 2 Domains and I have the DCs  pull from an atomic clock, but some servers and workstation PCs for whatever reason drift anything up to 2 or 3 minutes which causes problems with one of our applications, so I would like a list of times or a way of alerting me to the drift.
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 39191131
I understand the motivation.

I'd be tempted to write a batch or command file with one line per server you are concerned about, and append the output to a text file, which you can run at will and compare times.  Shouldn't be more than a couple minutes to write.

Then I'd be very concerned about the times which are drifting, and try to fix that.  2-3 minutes is a LONG time to be out of sync.  Your application obviously complains, and kerberos authentication won't work at all when you get to five minutes.  (Or do you need to dynamically enumerate all the servers/workstations and report the time/drift for all of them?)

This would be a temporary tool to track down what is happening to your time synchronization.

Do the PDC emulators drift from the atomic clock?
Do the DCs drift from the PDCs?
or is it the workstations/servers drifting from the DCs?

Are any of these systems virtualized?
0
 

Author Closing Comment

by:Eric
ID: 39201139
Hi Razmus

There is little drift from Atomic or PDC, only other servers and PCs have the larger drift, I think that might be because they are virtual servers.  I have read that virtual servers can drift due to heavy workloads on the hosts.  I have used your workaround using the w32tm /monitor /computername: comp1,comp2,etc redirected to a file in a batch file and scheduled with bmail so I get a regular email.  Thanks for your input it was helpful.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question