IIS Informant: Displaying Performance Monitor Counters in an ASP Page

Discover tools that let you build performance counters into ASP pages.

Brett Hill

March 4, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

I want to create a Web page that displays Microsoft Performance Monitor counters and that I can access remotely from a Web browser. How can I display these counters in an Active Server Pages (ASP) page?

In IIS 5.0, you can use the Performance Counter Check (perfcheck.dll) tool from the Microsoft Windows 2000 Server Resource Kit. For IIS 4.0, you can use the Windows Performance Data Helper DLL (pdh.dll) from the Platform software development kit (SDK). After you've installed the correct DLL, you can write an ASP page that will display the Performance Monitor counter values. You can also use a free component called AspQPerfCounters, which is available from http://www.alphasierrapapa.com/iisdev/components/perfmon. You can use ASP.NET and Windows Script Host (WSH), too, but that's beyond the scope of this answer.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like