Posted by Michael Alfaro on April 17, 2012

Figure out IIS 7.x Application Pool to Process ID in Windows Task Manager

Had to figure out which Application pool was linked to which w3wp.exe in Task Manager. Here’s the details to get the Process ID you need:

“If you need to identify which application pool is associated with a particular w3wp.exe process, open an Administrative Command Prompt, switch into the %windir%\System32\inetsrv folder (cd %windir%\System32\inetsrv) and run appcmd list wp. This will show the process identifier (PID) of the w3wp.exe process in quotes. You can match that PID with the PID available in Task Manager.”

That will give you the PID which you can reference in the Task Manager:

Original source: http://learn.iis.net/page.aspx/1211/troubleshooting-high-cpu-in-an-iis-7x-application-pool/

Topics: , , ,

Add a Comment