Solved

How to know which w3wp.exe is associated with which application pool? IIS 2008

Posted on 2009-04-15
3
704 Views
Last Modified: 2012-06-27
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
Comment
Question by:jamesh1031
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:harperse
ID: 24148272
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
 
LVL 71

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 24148306

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
 

Author Closing Comment

by:jamesh1031
ID: 31570418
I appreciate both answers. Chris had the best solution because its right there for me in Task Manager. Thank you.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sync home folder not working- urgent 13 57
Local admin account 3 75
Windows 10 Policy for Flash 3 58
Restore scheduled tasks from a backup 5 44
A procedure for exporting installed hotfix details of remote computers using powershell
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question