View w3wp process in IIS6,IIS7

Source: Internet
Author: User

When our server creates a lot of application pools, and then a w3wp.exe process consumes too much CPU and memory, how do we find out which Web site this w3wp.exe process belongs to? In fact, Microsoft has provided us with good viewing tools:

First open Windows Task Manager – Click View-Select Columns – Put the PID on the hook! You can see the PID option in the process,

In IIS6 You can use the Iisapp command to see all w3wp process pid corresponding to the site situation

Click to run – Enter cmd– input iisapp-a It's strange that the PID is shown in a pop-up window, which is not conducive to viewing!!

For example:

Command: IISAPP-A View all

In particular, there are some command parameters and usage, please input iisapp in cmd/? View!

But in IIS7 , Microsoft changed its approach and switched to the Appcmd command, as follows:

1: There are appcmd.exe tools in the System32 folder ,%windir%\system32\inetsrv\appcmd.exe

2: Open the DOS command window, navigate to the folder

3: Enter the view command:appcmd list WP, you can see all the w3wp process situation

This article original address: http://hi.baidu.com/yfyh1001/blog/item/f01ca4521ad1eb010df3e38b.html

View w3wp process in IIS6,IIS7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.