ISAPI Filter
-
I'm writing code to capture ASP performance data such as response time, etc. One very important piece of data I require is the actual processor time used by the specific IIS thread handling the ASP execution. Any thoughts on the best manner to obtain this? Ed Thayer
-
I'm writing code to capture ASP performance data such as response time, etc. One very important piece of data I require is the actual processor time used by the specific IIS thread handling the ASP execution. Any thoughts on the best manner to obtain this? Ed Thayer
Yeah, use the Performance Monitor application / MMC snap-in (depending on the version of Windows) with the many various ASP counters. On most systems, you can type perfmon to get started. Add the counters you're interested in, and you're set. BTW, writing an ISAPI filter would definitely not be the right way. Generally, you want to write the counters into the code which will be monitored. This isn't to say that the counters should be right there, intruding in all source lines, but they should be integrated. There are some great articles and examples of this in the .NET documentation. The practices apply to most implementations and platforms (if not all).
Reminiscent of my younger years...
10 LOAD "SCISSORS" 20 RUN