PerformanceCounterCategory.Create() takes 3 minutes to add a new category!!

D

DR

PerformanceCounterCategory.Create() takes 3 minutes to add a new category!!

If I run PerformanceCounterCategory.Create() on my development machine it
only takes a
few seconds. But on remotely monitored machines it takes 3 minutes! Is this
because the
other machines are remotely monitored? Something else?

What all can make PerformanceCounterCategory.Create() take 3 minutes to add
a new category??
 
D

DR

I am not creatign them on remote computers. I am creating them localy, but
it takes 3 minutes! i am asking what could cause this? perhaps if the
perfmon is being remotely viewed could this be causing this?

Peter Ritchie said:
Odd, the documentation states "First, you cannot create custom categories
and
counters on remote computers." [1]

[1] http://msdn2.microsoft.com/en-us/library/5e3s61wf(VS.85).aspx
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#


DR said:
PerformanceCounterCategory.Create() takes 3 minutes to add a new
category!!

If I run PerformanceCounterCategory.Create() on my development machine it
only takes a
few seconds. But on remotely monitored machines it takes 3 minutes! Is
this
because the
other machines are remotely monitored? Something else?

What all can make PerformanceCounterCategory.Create() take 3 minutes to
add
a new category??
 
P

Peter Ritchie [C# MVP]

Ah, okay. If something's heavily using performance counters, yes, it may
affect how long it takes to create a custom category.


--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#


DR said:
I am not creatign them on remote computers. I am creating them localy, but
it takes 3 minutes! i am asking what could cause this? perhaps if the
perfmon is being remotely viewed could this be causing this?

Peter Ritchie said:
Odd, the documentation states "First, you cannot create custom categories
and
counters on remote computers." [1]

[1] http://msdn2.microsoft.com/en-us/library/5e3s61wf(VS.85).aspx
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#


DR said:
PerformanceCounterCategory.Create() takes 3 minutes to add a new
category!!

If I run PerformanceCounterCategory.Create() on my development machine it
only takes a
few seconds. But on remotely monitored machines it takes 3 minutes! Is
this
because the
other machines are remotely monitored? Something else?

What all can make PerformanceCounterCategory.Create() take 3 minutes to
add
a new category??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top