Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows 2003/IIS6 server with a lot of application pools. In task manager, one of the w3wp.exe processes is using up a lot more resources then the others. Short of stopping/starting each pool one-by-one, is there an easy way to find out which application pool is related to the process?

share|improve this question
up vote 8 down vote accepted

The script iisapp.vbs will list this information for you, it is located in the system32 folder, but you should be able to run it straight from the command line.

share|improve this answer
+1 because it is a built-in tool. – splattne May 21 '09 at 17:42

use Microsoft Process Explorer

You can turn on "command line" as a column and for the W3Wp.exe's it will tell you the app pool.

share|improve this answer
Bah, beat me to it :) +1 – squillman May 21 '09 at 17:19

Assuming your apps are ASP.NET: Use sysinternals Process Explorer, right-click on the process, choose Properties, then click the .NET tab. You will see the various AppDomains for the .NET process, which for ASP.NET apps typically shows you something like /LM/W3SVC/id/Root/path etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.