By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,843 Members | 1,715 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,843 IT Pros & Developers. It's quick & easy.

cannot read performance counter instances of running processes on remote hosts

P: n/a

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,
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.