How to identify PID of AppPools
Today, I just decided to write a very straightforward post about something that I was not aware it would be a big issue, but in fact there a lot of people struggle with this.
Basically is how to identify the PID of an AppPool, this cames in play many times when we are troubleshooting something and we need to capture a Memory Dump for example of the exact w3wp process.
Surprisingly the procedure is pretty easy, but somehow obscure (go figures).
Any way were it goes.
Step 1 - Open IIS Manager, go to the root node in the tree on the left that represents your computer (should be labelled as your computer name).
Step 2 - In the Features View to the right, you'll see a section called IIS. Under that you'll see Worker Processes.
Step 3 - Select that and it should show you all running worker processes and some basic info, including Process ID
Step 4 - You can correlate that Process ID to the matching process in the Processes tab in Task Manager (showing processes from all users, and including the Process ID column in the results).
Here it is, nice and easy (not) :-)
Hope that helps