IIS Informant: Displaying Performance Monitor Counters in an ASP Page

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.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.