Marek Habersack | 15 Aug 00:51

[PATCH] Enable reading of the ASP.NET Requests Queued counter from external process

Hello everybody,

	The attached patch implements reading the counter mentioned in the subject
when using a named instance (on Unix it's a process ID). Please review,

best,

marek
Index: mono/metadata/mono-perfcounters.c
===================================================================
--- mono/metadata/mono-perfcounters.c	(revision 110495)
+++ mono/metadata/mono-perfcounters.c	(working copy)
@@ -847,6 +847,13 @@
 			return TRUE;
 		}
 		break;
+
+	case CATEGORY_ASPNET:
+		switch (id) {
+		case COUNTER_ASPNET_REQ_Q:
+			sample->rawValue = vt->counters->aspnet_requests_queued;
+			return TRUE;
+		}
 	}
 	return FALSE;
 }
(Continue reading)

Zoltan Varga | 15 Aug 01:22

Re: [PATCH] Enable reading of the ASP.NET Requests Queued counter from external process

Hi,

  Seems harmless.

             Zoltan

2008/8/15 Marek Habersack <grendel <at> twistedcode.net>:
> Hello everybody,
>
>        The attached patch implements reading the counter mentioned in the subject
> when using a named instance (on Unix it's a process ID). Please review,
>
> best,
>
> marek
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
Marek Habersack | 15 Aug 01:38

Re: [PATCH] Enable reading of the ASP.NET Requests Queued counter from external process

On Fri, 15 Aug 2008 01:22:05 +0200
"Zoltan Varga" <vargaz <at> gmail.com> wrote:

> Hi,
Hey,

>   Seems harmless.
Thanks :) - committed in r110541

best,

marek

Gmane