November Happy Hour will be moved to Thursday December 5th.

Petter Klang
Jun 16, 2009
  7544
(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
AsyncHelper can be considered harmful

.NET developers have been in the transition to move from synchronous APIs to asynchronous API. That was boosted a lot by await/async keyword of C#...

Quan Mai | Dec 4, 2024 | Syndicated blog

The search for dictionary key

Recently I helped to chase down a ghost (and you might be surprised to know that I, for most part, spend hours to be a ghostbuster, it could be fun...

Quan Mai | Dec 4, 2024 | Syndicated blog

Shared optimizely cart between non-optimizley front end site

E-commerce ecosystems often demand a seamless shopping experience where users can shop across multiple sites using a single cart. Sharing a cart...

PuneetGarg | Dec 3, 2024

CMS Core 12.22.0 delisted from Nuget feed

We have decided to delist version 12.22.0 of the CMS Core packages from our Nuget feed, following the discovery of a bug that affects rendering of...

Magnus Rahl | Dec 3, 2024