I have 6 windows servers, those are working on different locations.
i need to check load on each server from one Server by using C# coding.
Thanks in advance.
I have 6 windows servers, those are working on different locations.
i need to check load on each server from one Server by using C# coding.
Thanks in advance.
I guess you can use the PerformanceCounter
class from the System.Diagnostics
namespace. It has the following constructor:
public PerformanceCounter(
string categoryName,
string counterName,
string instanceName,
string machineName
)
You can see a simple example on this page.