Petter Klang
Jun 16, 2009
  8036
(1 votes)

Ever needed the process id of the applicationPool?

I often find myself debugging sites that run on machines that have a lot of sites up and running. So when I need to attach my VS to the process I usually have at least three (often more) w3wp.exe processes running. A neat little command that my colleague Sebastian gave me the other day has helped me a lot. “iisapp” run this command in a command window and it will give you a list of all the process ids for the applicationPools.

image

iisapp seems to only work for Windows server. But for vista “appcmd.exe list wp” gives the same result. Not as easy to remember but still.

image

Nothing big but though I would share as it helped me a lot.

Jun 16, 2009

Comments

Sep 21, 2010 10:32 AM

Nice post. I often get in a siutation where I can see alot of processes while debugging my test site.

Sep 21, 2010 10:32 AM

Another solutions is to mark all the w3wp-processes.. :)
/ Erik Nordin (erik.nordin@ottobonigroup.com)

Nov 6, 2010 11:37 PM

You can also integrate it with Visual Studio. :)

http://blog.bergdaniel.se/post/Resolving-w3wp-processes-in-Vista-with-Visual-Studio.aspx

Please login to comment.
Latest blogs
Optimizely Opal: How to Build Effective Workflow Agents

If you're building workflow agents in Optimizely Opal, this post covers how specialized agents pass context to each other, why keeping agents small...

Andre | May 20, 2026

ReviewPR: An Azure Function That Reviews Your Azure DevOps Pull Requests With Claude

A while back I wrote about an  Azure Function App for PDF creation that we use to offload PDF rendering from our Optimizely DXP site. That same...

KennyG | May 19, 2026

Accelerating Optimizely CMS and Commerce upgrades with agentic AI (Part 2 of 2)

The Real Transformation in Optimizely CMS 13: Why the Upgrade Itself Is the Easy Part. A field-tested playbook for enterprise teams moving from...

Hung Le Hoang | May 18, 2026

Is the most powerful AI model really the best value?

Artificial Intelligence is already becoming part of everyday software development. Developers now use AI tools to generate code, write documentatio...

K Khan | May 16, 2026