?
Solved

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

Posted on 2009-04-15
3
Medium Priority
?
710 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 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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 …
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

800 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