How to determine which w3wp.exe process belongs to which web site

iis-6w3wp

I have an IIS6 web server that is hosting two application pools. Occasionally, one of the w3wp processes will spike the CPU for a while, and both app pools seem to suffer the consequences. I'm not sure which one is which, and without that information I don't know which application to blame.

How can I tell which w3wp belongs to which App Pool?

Best Answer

For IIS7 you need to use APPCMD from %systemroot%\system32\inetsrv\ as an administrator

i.e.

%systemroot%\system32\inetsrv\appcmd list wp

See http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/#HowToUse for more details

Related Topic