If you have multiple SharePoint web applications running on a server you would see multiple instances of w3wp.exe in TaskManager. When you need to monitor the performance of a SharePoint web app there is no way in TaskManager to figure out which w3wp process is the right one.
Here's a quick way to identify the app pool associated with the running worker process:
- In the TaskManager menu select 'View' -> 'Select Columns' and check the 'PID (Process Identifier)' column
- Open command prompt window
- type cd c:\windows\system32
- type iisapp.vbs
- You might get a message to register cssript. Select 'Yes'.
This script will list out all the running worker process along with their PID and app pool name. You now the process id of the w3wp process to monitor in TaskManager.
Technorati Tags:
w3wp.exe,
SharePoint