List all worker processess in IIS

run as adminIf you hit ctrl+alt+del, you will notice one ore many w3wp process. Each of these correspond to a different site (or Application Pool). In Windows Task Manager, you cannot judge which process is associated with which site. You can issue the following command to find that out. Copy and past the following in command Window. Make sure you start cmd in Administrator mode otherwise you will get an error

c:WindowsSystem32inetsrvappcmd list wp

Or you can changed directory first and issue the same command

cd WindowsSystem32inetsrv.
appcmd list wp

If you did not start cmd prompt in administrator mode, you will end up getting this error

message:The WAS service is not available – try starting the service first

This entry was posted in IIS, Tutorials/Tips. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s