Home | Advertising Info36 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, June 30, 2022  

Finding out which Application Pool a process ID belongs to on 2003 Server.

This isn't totally ASP related but I would like to share it with everyone since it has helped my when troubleshooting memory/resource use on my server.

This is a little (.bat) file I have been using on my server to see what process id's belong to what web site pools

Real simple... Real handy

Make a text file called "process-info.bat" with the following text in it.

c:\windows\system32\cscript.exe c:\windows\system32\iisapp.vbs

Run it on your 2003 Server and it shows info like this which you can use with Task Manager to see what belongs to what. Make sure you set your Task Manager to show the Process ID's.

C:\Documents and Settings\Administrator\Desktop>c:\windows\system32\cscript.exe c:\windows\system32\iisapp.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

W3WP.exe PID: 5436   AppPoolId: poonker
W3WP.exe PID: 5004   AppPoolId: bansderver
W3WP.exe PID: 4800   AppPoolId: DefaultApppPool
W3WP.exe PID: 2416   AppPoolId: poweraasp
W3WP.exe PID: 2420   AppPoolId: poweraaspinfo
W3WP.exe PID: 4896   AppPoolId: apicserver
W3WP.exe PID: 3484   AppPoolId: arbay
W3WP.exe PID: 4964   AppPoolId: cjwssoft
W3WP.exe PID: 2404   AppPoolId: powerasppforum
W3WP.exe PID: 4028   AppPoolId: smartert
W3WP.exe PID: 1532   AppPoolId: MSShareePointAppPool
W3WP.exe PID: 5784   AppPoolId: supportdesoft

C:\Documents and Settings\Administrator\Desktop>pause Press any key to continue . . .

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2022 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com