Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 734
  • Last Modified:

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
0
jamesh1031
Asked:
jamesh1031
1 Solution
 
harperseCommented:
jamesh1031,

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
0
 
Chris DentPowerShell DeveloperCommented:

In full agreement with the method. But wanted to note that Windows 2008 can include the Command Line in Task Manager as a column (View / Select Columns).

Chris
0
 
jamesh1031Author Commented:
I appreciate both answers. Chris had the best solution because its right there for me in Task Manager. Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now