Hi,
Don't know if anyone has tried to build a Task Manager like app that
monitors remote servers...
I have one working, but the CPU usage for the scvhost processes do not get
reported correctly. they are always 0
This code will illustrate what I'm doing:
For Each p As Process In Process.GetProcesses(m_server)
Dim objCntr As New PerformanceCounter("Process", "% Processor Time",
p.ProcessName, m_server)
objCntr.NextValue()
System.Threading.Thread.Sleep(1000)
Debug.Print(objCntr.NextValue())
Next
Has anyone done this before?
Dan