469,306 Members | 1,884 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

cannot read performance counter instances of running processes on remote hosts

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
Nov 16 '05 #1
0 1332

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Michael Williams | last post: by
7 posts views Thread by James | last post: by
reply views Thread by gralet | last post: by
4 posts views Thread by skotapal | last post: by
12 posts views Thread by Ilyas | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.