Search code examples
iis-6w3wp

How can I determine which w3wp.exe process belongs to which web site?


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?


Solution

  • Goto cmd window then type c:\windows\system32\cscript c:\windows\system32\iisapp.vbs.

    Now you will get the list of worker processes along with the app pool name.