I am creating a project for Remote Monitoring Application, that consist of the service to be hosted on the individual machines. The job of the service is to collecct the information regarding CPU usage, memory usage, etc. using WMI. The service executes the scan every 15 seconds using threading. Now I want the services on each machine to be executed at exactly same time. For eg. 8.15, 8.30, 8.45. I have written a simple logix that checks the current second count and makes the thread sleep for the time system reaches the time that falls exactly either at x.15, x.30, x.45 , etc. But implementing this itself does not assure that the value collected by the service via WMI for the same process would be at same time. For eg. CPU Usage for machine 1 and CPU Usage for machine 2 should be collected at same time so that it can be compared at run time. Same goes for other processes and metric values as well.
Any help would be appreciated.