Determine the Application Pool for a w3wp process

Posted Tuesday, October 17, 2006 4:22 PM by C-Dog's .NET Tip of the Day

Have an application pool going crazy with memory or CPU and want to know which application to blame?  It's actually pretty easy to determine using a VBS script included in the Windows\System32 folder called iisapp.vbs.  To execute the script, just run the following.

cscript iisapp.vbs

This will give you the PID of all of the application pools currently running. You can then, take that PID and look it up in Task Manager.

If you are using Windows Server 2008, use this command instead.

Read the complete post at

Filed under: