To resolve a method that the Iisapp command cannot use

Source: Internet
Author: User
Tags iis

First, the IISAPP environment

1, Windows 2003+iis 6.0

2,. NET environment

Second, the problem description

1, in the task Manager to increase the display of the PID field. You can see the process PID that takes up memory or the highest CPU

2. Run iisapp-a at command cmd command line prompt. Note that the first run, will be prompted without JS support, click OK. And then you can run it again. This allows you to see the application pool that the PID corresponds to.

3, to IIS to see the application pool of the Web site, OK, to make the above memory or CPU restrictions, or check the program has no dead loop and so on.

But after I typed Iisapp, there was a problem and I didn't get the results I wanted.

That's how I solved it:

Iisapp is actually a VBS script stored in the c:windows system32 directory, the full name is Iisapp.vbs, if you and I also prohibit the VBS default associated program, then you need to manually go to the directory, choose Open Mode, and then select Microsoft (r) Windows Based Script Host "to perform, you can get the PID and application pool of the corresponding relationship."

This allows you to hold the steps 1 and 2 above.

Third, how to do in the IIS7

The new syntax is Appcmd.exe list Wp,iisapp no longer applies.

You can also do this:

Originally IIS7 has already integrated this function into the IIS, we can find in this location, computer name-->iis-->worker processes.

Conclusion: Through the above steps to solve the Iisapp command can not use the problem!

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.