Solved

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

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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now