Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Application pool PID

is anyone familiar with a way to get the Application pool that is associated with a process ID ? I am using Win32_Process to query the W3WP services and return the PID now I am trying to get the app pool associated with it.

like image 230
Adonis L Avatar asked Apr 14 '09 19:04

Adonis L


People also ask

How do I find my app pool PID?

Process ID of a specific App Pool This is the easiest way to accomplish: In Task Manager add the PID (process identifier) column. Right click on the column and select PID (for older versions of Windows click the View menu, Select Columns, and select PID (Process Identifier).

What is PID in IIS?

Resolution: In IIS Manager, you can view the Worker Process assignments by going into the Worker Processes section of the server itself. . . This will then generate the Process ID (PID) of the Worker Process associated with the application pool. . . (

Where can I find IIS application ID?

Open IIS manager, click on the top level websites folder, view the lists of sites in the right hand pane, listing the App ID's. Show activity on this post. That will give you a list of sites currently running, the PID of the process and the App ID you need.

How do I find the process ID of w3wp exe?

Open the Windows Task Manager, ensure that the PID and Command Line columns are shown on the screen. For all w3wp.exe processes, check the value of the Command Line argument. Find the w3wp.exe process that has the target application pool name mentioned in the Command Line column.


1 Answers

On Windows Server 2008 this has changed.

in systemroot\system32\inetsrv you find the appcmd.exe

using

appcmd list wp

you get a list of all the worker processes and which apppool they are serving.

You might need to run this in a shell with Administrator privileges.

like image 149
Morten Avatar answered Sep 19 '22 16:09

Morten