Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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 http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

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

 
discard

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.