jamesh1031
asked on
How to know which w3wp.exe is associated with which application pool? IIS 2008
When I view task manager processes I can see the w3wp.exe for each application pool but I can't tell which is which. I want to see which app pools are using the memory. I can run appcmd.exe and it gives me a WP number but I can't associate that with the w3wp.exe process either. How can I find out which w3wp.exe belongs to which website?
IIS.gif
IIS.gif
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I appreciate both answers. Chris had the best solution because its right there for me in Task Manager. Thank you.
The easiest way I have found is to use the Process Explorer tool from Microsoft/SysInternals. Select a w3wp process from the process list, and under the Image tab, look at the command line field. The last argument on the line (-ap) will have your application pool name in quotes. You can get the Process Explorer tool from http://live.sysinternals.com. The executable is called procexp.exe.
Best of luck,
harperse