Petter Klang
Jun 16, 2009
  7963
(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
Lessons from Building Production-Ready Opal Tools

AI tools are becoming a normal part of modern digital platforms. With  Optimizely Opal , teams can build tools that automate real tasks across the...

Praful Jangid | Mar 7, 2026

My Takeaway from Optimizely Opal Agents in Action 2026 - What Agentic AI Means for the Future of Digital Marketing

I would like to share with you what stayed in my head after this amazing virtual event organized by Optimizely. Agents in Action 2026 , a live...

Augusto Davalos | Mar 6, 2026

From Vision to Velocity: Introducing the Optimizely MVP Technical Roundtable

Digital transformation is a two-sided coin. On one side, you have the high-level strategy, the business cases, the customer journeys, and the...

Patrick Lam | Mar 6, 2026

Commerce 14.45.0 is incompatible with CMS 12.34.2 (but that's an easy fix!)

Incompatible is a strong word, but that is to get your attention. This is one of the small thing that can be overlooked, but if you run into it, it...

Quan Mai | Mar 5, 2026