472,096 Members | 1,304 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

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 1431

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.