Skip to content

microsoft/MSO-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSO-Scripts

Democratizing Windows Performance Analysis

Documentation

MSO-Scripts substantially facilitates the use of Microsoft's Event Tracing for Windows (ETW) technology for analyzing the resource consumption (CPU, Memory, I/O, Handles, Registry, ...) and performance behavior of Windows and its applications, particularly Microsoft Office.

MSO-Scripts also reveals detailed network activity by way of an add-in for the Windows Performance Analyzer (WPA).

Please see the wiki for detailed documentation.

Quick Start

There are eleven customizable scripts for tracing various system resources:

  • TraceCPU
  • TraceFileDiskIO
  • TraceHandles   (Kernel, GDI, and USER handles)
  • TraceHeap        (Windows Heap + VirtualAlloc)
  • TraceHeapEx     (Windows Heap + VirtualAlloc + Handles)
  • TraceMemory   (RAM usage, etc.)
  • TraceMondo     (CPU + FileDiskIO + Handles + Network + Defender)
  • TraceNetwork   (Chromium, WinHTTP, WinINet, LDAP, WinSock, TcpIp)
  • TraceOffice       (Excel, OneNote, PowerPoint, Word: ETW Trace and Office Logs)
  • TraceOutlook   (ETW Trace and Office/Outlook Logs)
  • TraceRegistry

The scripts accept these tracing commands: Start, Stop, View, Status, Cancel
These commands, except View, require Administrator privilege.

To trace CPU activity:

List all options for TraceCPU:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

Set of scripts for performance investigations on Windows.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •