Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / June 2006

Tip: Looking for answers? Try searching our database.

Monitor Performance of ADO and ASP without Performance-Counter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hpw - 26 Jun 2006 13:45 GMT
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
David Browne - 27 Jun 2006 12:50 GMT
> Hi,
>
[quoted text clipped - 11 lines]
>
> 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
hape - 27 Jun 2006 14:43 GMT
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.getCurrentPooledIdleConnections() - 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

> > Hi,
> >
[quoted text clipped - 16 lines]
>
> David

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.