IIS Application pool PID

前端 未结 9 2239
臣服心动
臣服心动 2020-12-02 11:06

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

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 11:34

    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.

提交回复
热议问题