Determining the website that belongs to an IIS process

Today I ran into an issue where there was a w3wp.exe process running on my server that was pegging the CPU.  The only thing I could find about it was that it was running under the user name of NETWORK SERVICE.  I had no idea what site was causing the issue.  I searched online and found this command:

c:\windows\system32\iisapp.vbs

Run this from the command prompt and it will give you the PID to web site mapping.  You might also have to add the PID column to your Windows Task Manager.  Click View.. Select Columns to add this column.

Good Luck…

Posted in |

0 comments: