IIS monitoring request script sharing _win Server

Source: Internet
Author: User
Copy Code code as follows:

{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83} 0 5 iis:www Server
{06b94d9a-b15e-456e-a4ef-37c984a2cb4b} 0 5 iis:active Server Pages (ASP)
{dd5ef90a-6398-47a4-ad34-4dcecdef795f} 0 5 Universal Listener Trace
{A1C2040E-8840-4C31-BA11-9871031A19EA} 0 5 iis:www ISAPI Extension
{Aff081fe-0247-4275-9c4e-021f3dc1da35} 0 5 IIS:ASP.NET
{D55D3BC9-CBA9-44DF-827E-132D3A4596C2} 0 5 Iis:global
{3B7B0B4B-4B01-44B4-A95E-3C755719AEBF} 0 5 Iis:request Monitor
{DC1271C2-A0AF-400F-850C-4E42FE16BE1C} 0 5 Iis:iisadmin Global

The above content is saved as Iistrace.guid

Program code
Copy Code code as follows:

Del Summary.txt
Del Workload.txt
C:\windows\system32\logman start "NT Kernel Logger"-P "Windows Kernel Trace" Process,thread,disk-ct- Ets
C:\windows\system32\logman start "IIS Trace"-PF iistrace.guid-ct perf-o iis.etl-ets
@echo Sampling analysis recommendations within 10 minutes, please click "Stop analysis and generate report" command in time ...
Pause

Save As Start.bat

Program code
Copy Code code as follows:

C:\windows\system32\logman Stop "IIS Trace"-ets
C:\windows\system32\logman Stop "NT Kernel Logger"-ets
C:\windows\system32\tracerpt Iis.etl Krnl.etl-o-report-summary
Del dumpfile.csv
Del Iis.etl
Del Krnl.etl
Notepad.exe Workload.txt

Save As Stop.bat
Execute Start.bat 10 minutes to execute Stop.bat will be able to obtain all IIS requests within 10 minutes and have statistical results including response rate CPU usage requests, etc.

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.