Search code examples
iis-7monitoringworker-processes

Monitoring CPU usage of IIS7 worker processes


What is the best way to monitor IIS7 worker processes and store informations about websites which are using CPU/memory too much?

Thanks


Solution

  • I recently started looking at accessing WMI with ASP.NET. Assuming your ASP Service Account has enough permissions you can query and even monitor the various performance metrics using the standard WMI method calls. You might want to start out by looking at O'Reilly Media's article A Quick Introduction to WMI from .NET and see if that satisfies your needs.