IIS判断W3WP进程对应哪个网站

IIS 6 (Win2003 )中查看某个应用程序池对应那个 W3WP.exe 进程,可以使用如下命令,输出结果类似如下:

C:\WINDOWS\system32>cscript iisapp.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
W3WP.exe PID: 1172 AppPoolId: StsAdminAppPool
W3WP.exe PID: 2656 AppPoolId: MSSharePointAppPool
W3WP.exe PID: 2148 AppPoolId: WMS App Pool
W3WP.exe PID: 3604 AppPoolId: defaultwebsite

参看这篇博客: http://blogs.msdn.com/jb/archive/2006/02/22/536693.aspx

 

IIS 7 中则是如下命令,输出结果类似如下:

C:\Windows\system32>%windir%/system32/inetsrv/appcmd list wp
WP “5716″ (applicationPool:DefaultAppPool)
WP “968″ (applicationPool:MyOtherAppPool)
WP “5836″ (applicationPool:TheThirdAppPool)

相关文章:

  • 2021-11-17
  • 2021-09-22
  • 2022-12-23
  • 2021-08-14
  • 2021-07-19
  • 2022-01-05
  • 2022-02-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-13
  • 2021-05-30
  • 2021-10-08
  • 2021-10-26
  • 2022-02-20
相关资源
相似解决方案