Solved

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

Posted on 2009-04-15
3
702 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
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 70

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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 steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

820 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