Inspecting Running Worker Processes and Requests

Viewing and changing configuration data is not the only thing that you can do with Appcmd. You can also inspect the run-time state of the Web server by listing the currently executing worker processes and even requests.

Listing Running IIS Worker Processes

You can use the List Wp command to list all currently running IIS worker processes. This command uses the following syntax.

appcmd list wp [pid] [/apppool.name:string] [/wp.name:string]

The List Wp command supports the use of the Process ID (PID) as an identifier to locate the specified IIS worker process. Additionally, you can specify the application pool name by using the /apppool.name parameter to list IIS worker processes belonging to a specific ...

Get Internet Information Services (IIS) 7.0 Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.