Appcmd

Listing IIS worker processes

Useful command to list worker process on a web server. The commands varies based on the operating system IIS is running on. List worker process and corresponding PID in Server 2003 with IIS6: – From command prompt, change directory to %windir%\system32\ – Run the command “cscript.exe iisapp.vbs“ IIS Worker Process List worker process and corresponding PID in Server 2008 with IIS7/7.5: – From command prompt, change directory to%windir%\system32\inetsrv\ – Run the command “appcmd list wps“ IIS Worker Process