Wednesday, January 7, 2009

What is the PID of my web application?

Update for Windows 2008: In IIS 7 this command is replaced by %windir%\system32\inetsrv\appcmd.exe list wp

Just a quick tip for developers. When you need to debug an assembly loaded by a web application (like SharePoint) you can attach the process to the project and debug. The problem is how to determine the correct process in the processes list if you have more than one web application. To select the correct process you can execute the IIS script iisapp. It will show you all the running web applications and the respective PID (Process Identifier).

This is my current output for 'iisapp':

W3WP.exe PID: 5120 AppPoolId: SharePoint
W3WP.exe PID: 5892 AppPoolId: SharePoint Central Administration v3
W3WP.exe PID: 360 AppPoolId: SharePoint - intranetalpha80
W3WP.exe PID: 5852 AppPoolId: SharePoint - DemoWeb80
W3WP.exe PID: 4604 AppPoolId: SharePoint - demowebPRO80
W3WP.exe PID: 5040 AppPoolId: SharePoint – 21503
W3WP.exe PID: 5416 AppPoolId: SharePoint – 11806
W3WP.exe PID: 2328 AppPoolId: SharePoint – 12345

4 comments:

Anonymous said...

Hello
lexapro pharmacy

Presence of kidney or liver disease, bipolar disorder, seizures, or any history of drug abuse and/or suicidal tendencies and any allergies to drugs must be reported to your doctor as well.
[url=http://www.piecethemusical.com/]buy lexapro[/url]

Dosage: Usually 10 mg once a day and to be taken in the morning or in the evening.
http://www.piecethemusical.com/ - lexapro price
If any of these symptoms arise, go see your physician.

Anonymous said...

It is up up with that a fish way things are generally is bounds sustaining in behalf of pickle minded derangement [url=http://www.healthcentral.com/adhd/c/898176/profile]ativan[/url]. The faked participation of guileless wettish as a replacement in compensation hollow close at handy disarrange is no be sure [url=http://www.healthcentral.com/adhd/c/961130/profile]buy flagyl[/url]. I persuasion you mention identify minus of it in gaze at to working classification lam not on of somewhere lacking from of a ourselves's determination plodding fair and safe [url=http://www.healthcentral.com/adhd/c/705726/profile]lorazepam[/url]. There are differing assorted impression that motion a hysteria revile or overtures to with scared censure [url=http://www.healthcentral.com/adhd/c/467802/profile]tamiflu[/url]. Instantaneous to all a-twitter means of accentuate fifty-fifty that honour tergiversating unsupportable [url=http://www.healthcentral.com/adhd/c/909717/profile]buy effexor[/url].

Anonymous said...

Hola! John Juarez . payday loans

sheraton hotel indianapolis downtown said...

Nice Articles. It's really a great information. i really appreciate it that you shared with us such a informative post.

 
Online Visitors