CopyCode Code: {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
Save the preceding content as iistrace. guid.
ProgramCodeCopy codeThe Code is as follows: del summary.txt
Del workload.txt
C: \ windows \ system32 \ logman start "NT kernel logger"-P "Windows Kernel trace" (process, thread, disk)-CT perf-O krnl. ETL-ETS
C: \ windows \ system32 \ logman start "IIS trace"-PF iistrace. guid-CT perf-o iis. ETL-ETS
@ ECHO: It is recommended that the sampling analysis be performed within 10 minutes. Please click the "Stop analysis and generate report" command in time...
Pause
Save as start. bat
Program codeCopy codeThe Code is 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 for 10 minutes and then execute stop. BAT to obtain all IIS requests within 10 minutes. The statistical results include the response rate, CPU usage, and the number of requests.