Which w3wp process belongs to which App Pool

From the notes to self department:

If you are using multiple application pools you may want to know which application pool belongs to which process id; for example, if you want to attach a debugger it is handy to know which PID to attach to.

The script iisapp.vbs, located in your System32 on Windows 2003 directory will answer this one. You can run it from the command prompt by typing in the script name, provided you have cscript registered as your default handler for vbs extension files, or agree to register it (you get a prompt following the WSH failure to handle this for you).

Scott Forsyth has the skinny.

I’ve not checked this out on IIS 7.0 on Vista, yet.

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s