Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

11.08.2012

Determine which IIS sharepoint process is which

Sharepoint uses IIS pooled application processes to do its bidding.  Unfortunately, these all show up as w3wp.exe in taskmanager which makes killing or attaching to the right process a bit like russian roulette.

To see a nice list of all sharepoint related processes, use the following command:
C:\Windows\System32\inetsrv>appcmd list wp

This will display a nice description of all the IIS processes including the sharepoint instance that is bound to port 80.  The output of this command lists the process' PID so just use that when killing or attaching with a debugger.