views:

703

answers:

2

Hello!

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

Thanks

A: 

There are some commercial options that will monitor a process's CPU and memory utilization.

But there is also a solution on Code Project that will let you tap into the values to monitor them from a winform application.

DavGarcia
+1  A: 

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.

Dscoduc