Search code examples
visual-studio-2012sharepointvisual-studio-2013sharepoint-2010sharepoint-2013

How to Get Worker Process ID(W3wp.exe) of Specific Sharepoint Application Pool(Not List of All)


I am using the below command to find w3wp.exe ID, which I have to attach in debugging, but it gives all W3wp.exe list

C:\Windows\System32\inetsrv>appcmd list wp.

I want to find only Specific 'Application Pool' w3wp.exe ID. How can I achieve this?


Solution

  • You can use below command to find with w3wp.exe ID with apppoolName

    APPCMD list wps /apppool.name:AppPoolName

    There are more commands here

    I hope this helps

    enter image description here

    enter image description here