HighTechTalks DotNet Forums  

Performance Monitor Not Logging .Net CLR Counters?!?

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


Discuss Performance Monitor Not Logging .Net CLR Counters?!? in the Dotnet Framework (Performance) forum.



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

Default Performance Monitor Not Logging .Net CLR Counters?!? - 04-10-2006 , 02:23 PM






I have duplicated this on 4 different workstations running WinXP and the
..Net framework. Viewing any of the .NET CLR counters in PerfMon works fine
when viewing then "live," but fails to capture any data when setting them up
as scheduled captures under Counter Logs. All of the non-.Net counters
capture fine, but not the .Net ones?!? Has anyone else seen this and does
anyone know of a workaround?

tia,
Bill



Reply With Quote
  #2  
Old   
Santosh
 
Posts: n/a

Default RE: Performance Monitor Not Logging .Net CLR Counters?!? - 04-22-2006 , 01:54 AM






Which counters are you logging? Which process are you binding it to?
Perfmon will display only those processes that have the .net framework
loaded when displaying processes for the .NET counters. Are you sure your
process name will be unique when you have even the non .NET processes are
taken into consideration?

"bu" wrote:

Quote:
I have duplicated this on 4 different workstations running WinXP and the
..Net framework. Viewing any of the .NET CLR counters in PerfMon works fine
when viewing then "live," but fails to capture any data when setting them up
as scheduled captures under Counter Logs. All of the non-.Net counters
capture fine, but not the .Net ones?!? Has anyone else seen this and does
anyone know of a workaround?

tia,
Bill




Reply With Quote
  #3  
Old   
bu
 
Posts: n/a

Default Re: Performance Monitor Not Logging .Net CLR Counters?!? - 04-24-2006 , 09:42 AM



Santosh,

Thanks for the reply.

I am using a mixture of .Net CLR Memory, Data, Interop, Locks & Threads, and
a few others and am binding them to an in-house application written using
the framework. I am also using some Process counters tied to the same
application and those capture fine. The only issue is with the .Net CLR
counters - when configuring them as Counter Logs (logged to the drive
instead of viewed on screen), absolutely no data gets recorded.... though
it gets recorded for all other non-.Net counters... including the Process
counters tied to the same application....

Bill


"Santosh" <Santosh (AT) discussions (DOT) microsoft.com> wrote

Quote:
Which counters are you logging? Which process are you binding it to?
Perfmon will display only those processes that have the .net framework
loaded when displaying processes for the .NET counters. Are you sure your
process name will be unique when you have even the non .NET processes are
taken into consideration?

"bu" wrote:

I have duplicated this on 4 different workstations running WinXP and the
..Net framework. Viewing any of the .NET CLR counters in PerfMon works
fine
when viewing then "live," but fails to capture any data when setting them
up
as scheduled captures under Counter Logs. All of the non-.Net counters
capture fine, but not the .Net ones?!? Has anyone else seen this and
does
anyone know of a workaround?

tia,
Bill






Reply With Quote
  #4  
Old   
Santosh
 
Posts: n/a

Default Re: Performance Monitor Not Logging .Net CLR Counters?!? - 04-25-2006 , 12:53 AM



Hmm. Am not sure if this will help, But I had a similar issue because the
Image name that ws being used was not unique. I wanted to profile the dllhost
process which contained my ServicedComponent. If you see in the 'Process'
Performance object, you will see multiple dllhosts shown as dllhost,
dllhost#1, and so on. However, At the same instance of time, the .NET CLR
counters will show only dllhost(when only one ServicedComponent is
initialized). So, when I switch on logging, I was logging the dllhost which
is the System Application where as the one that had to be logged was
dllhost#1.
Hope this helps.

"bu" wrote:

Quote:
Santosh,

Thanks for the reply.

I am using a mixture of .Net CLR Memory, Data, Interop, Locks & Threads, and
a few others and am binding them to an in-house application written using
the framework. I am also using some Process counters tied to the same
application and those capture fine. The only issue is with the .Net CLR
counters - when configuring them as Counter Logs (logged to the drive
instead of viewed on screen), absolutely no data gets recorded.... though
it gets recorded for all other non-.Net counters... including the Process
counters tied to the same application....

Bill

Reply With Quote
  #5  
Old   
bu
 
Posts: n/a

Default Re: Performance Monitor Not Logging .Net CLR Counters?!? - 04-26-2006 , 10:30 AM



Nevermind... I found the fix. You need to change the Logon Account that the
"Performance Logs and Alerts" service uses... the default is set to Network
Service, but changing it to either a local Administrator account or the
Local System Account will fix the issue.




"bu" <bu (AT) nospam (DOT) com> wrote

Quote:
Santosh,

Thanks for the reply.

I am using a mixture of .Net CLR Memory, Data, Interop, Locks & Threads,
and a few others and am binding them to an in-house application written
using the framework. I am also using some Process counters tied to the
same application and those capture fine. The only issue is with the .Net
CLR counters - when configuring them as Counter Logs (logged to the drive
instead of viewed on screen), absolutely no data gets recorded.... though
it gets recorded for all other non-.Net counters... including the Process
counters tied to the same application....

Bill


"Santosh" <Santosh (AT) discussions (DOT) microsoft.com> wrote in message
news:4313A052-37BF-47C1-9217-E18CC873F949 (AT) microsoft (DOT) com...
Which counters are you logging? Which process are you binding it to?
Perfmon will display only those processes that have the .net framework
loaded when displaying processes for the .NET counters. Are you sure your
process name will be unique when you have even the non .NET processes are
taken into consideration?

"bu" wrote:

I have duplicated this on 4 different workstations running WinXP and the
..Net framework. Viewing any of the .NET CLR counters in PerfMon works
fine
when viewing then "live," but fails to capture any data when setting
them up
as scheduled captures under Counter Logs. All of the non-.Net counters
capture fine, but not the .Net ones?!? Has anyone else seen this and
does
anyone know of a workaround?

tia,
Bill








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 - 2008, Jelsoft Enterprises Ltd.