cannot read performance counter instances of running processes on remote hosts -
10-04-2004
, 10:26 AM
Hi,
I'm using the PerformanceCounter .NET class to obtain the "%
Processor Time" for processes that are running on a remote host. These
processes are obtained using the
System.Diagnostics.Process.GetProcesses(host) method. I'm noticing that for
some running processes, the program is throwing out an exception "Cannot
read instance :<processname>". Is this a known issue or could it be solved?
For e.g. on getting "% Processor Time" values from a remote WinServer2003
host, the following processes could not be read:
dfssvc, msiexec,wmiapsrv,taskmgr.... plus others.
Thanks in advance,
Chris |