HighTechTalks DotNet Forums  

Monitor Performance of ADO and ASP without Performance-Counter

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Monitor Performance of ADO and ASP without Performance-Counter in the Dotnet Framework (CLR) forum.



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

Default Monitor Performance of ADO and ASP without Performance-Counter - 06-26-2006 , 08:45 AM






Hi,

i'm currently working on a way to determine current
database-connection-usage (Unpooled Connection, Pooled Connections,
....) and website monitoring (threadcount, ...) without using the
WindowsNT-Performance-Counters.

I want to use this for instrumentation purposes (so i can tell anywhere
in my .net code e.g. how many database connections are currently in use
by the aspnet_wp - process).

I want to keep the performance overhead as small as possible - so i
want to avoid using the perfmon infrastructure.

Any suggestions appreciated.

br

HPW


Reply With Quote
  #2  
Old   
David Browne
 
Posts: n/a

Default Re: Monitor Performance of ADO and ASP without Performance-Counter - 06-27-2006 , 07:50 AM







"hpw" <hpw (AT) hp-weidinger (DOT) at> wrote

Quote:
Hi,

i'm currently working on a way to determine current
database-connection-usage (Unpooled Connection, Pooled Connections,
...) and website monitoring (threadcount, ...) without using the
WindowsNT-Performance-Counters.

I want to use this for instrumentation purposes (so i can tell anywhere
in my .net code e.g. how many database connections are currently in use
by the aspnet_wp - process).

I want to keep the performance overhead as small as possible - so i
want to avoid using the perfmon infrastructure.

Any suggestions appreciated.

Use the performance counters. You don't have to use perfmon (although I
can't understand why you wouldn't). You can query the counters in code.

David



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

Default Re: Monitor Performance of ADO and ASP without Performance-Counter - 06-27-2006 , 09:43 AM



Thanks for the answer,

i just wanted to avoid using an (As far as i know) Out-Of-Proc-Com-Call
to determine Runtime information about an application i want to insert
Instrumentation info to...

If there is any other way (like
System.Data.SQLClient.Pool.getCurrentPooledIdleCon nections() - or
something like that) i would use them.

Unfortunately i did not find such Methods for ADO.net and ASP.net.

Does anyone know, how much overhead a call to the Performance-Counters
costs?

br

Hans-Peter

David Browne wrote:
Quote:
"hpw" <hpw (AT) hp-weidinger (DOT) at> wrote in message
news:1151325958.069148.324930 (AT) y41g2000cwy (DOT) googlegroups.com...
Hi,

i'm currently working on a way to determine current
database-connection-usage (Unpooled Connection, Pooled Connections,
...) and website monitoring (threadcount, ...) without using the
WindowsNT-Performance-Counters.

I want to use this for instrumentation purposes (so i can tell anywhere
in my .net code e.g. how many database connections are currently in use
by the aspnet_wp - process).

I want to keep the performance overhead as small as possible - so i
want to avoid using the perfmon infrastructure.

Any suggestions appreciated.


Use the performance counters. You don't have to use perfmon (although I
can't understand why you wouldn't). You can query the counters in code.

David


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.