HighTechTalks DotNet Forums  

cannot read performance counter instances of running processes on remote hosts

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss cannot read performance counter instances of running processes on remote hosts in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Christopher Attard
 
Posts: n/a

Default 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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.