- Last version is v4.2.1
The 'beta Xplat Performance Tool' is intended for Linux performance data collection, CPU and Memory load investigation and analysis, when high CPU or Memory load is reported. It aims at quickly being able to determine a device’s CPU and Memory load and ellaborate on mitigation, as well as propose fixes. It's very intuitive and easy to use, returns results that are easy to interpret and relies on very basic set of tools existent in virtually all Linux minimal installations.
'beta Xplat Performance Tool' captures CPU and Memory data for a period of time and is at the moment, independent of “Client Analyzer” for Linux: it does not depend on python or "Client Analyzer" code to be executed. It’s a command-line tool, shellscript, that receives an interval of time as parameter, and captures CPU and Memory activity for that specified period. The processes being monitored are wdavdaemon (edr, rtp and av components), and if running, audisp plugin (if plugin is disabled due to eBPF, audisp plugin won't be picked up). Can also be used in a 'long run' mode in the background, to spot memory leaks or track resource behavior for a long time. A parameter calculator is embeded on the code to calculate the right parameters for the collection interval. Note that CPU values displayed on the graphs, are relative and not absolute - each CPU counts as 100% (as natively presented by TOP, in Linux), as opposed to absolute readings seen on Windows that aggregate all CPUs and make it 100%.
'beta Xplat Performance Tool' is not a system log collection tool. System logs, should be collected with "XMDE Client Analyzer" as established.
- Easy to use and to interpret data
- Light-wheight
- Fast to execute
- Does not depend on python
- Basic Shell Script using 'awk', 'sed', 'grep', 'tee', 'tar'/'zip' basic tools available in Linux and MacOS
- Easily adaptable and scalable code
- Simply execute the script and collect resulting package for investigation
Download for MacOS, using your terminal/shell:
- curl https://raw.githubusercontent.com/microsoft/xpdt/main/betaLinuxPerformanceTool_v4.2.1.sh -o betaMacOSPerformanceTool_v4.2.1.sh && chmod a+x betaMacOSPerformanceTool_v4.2.1.sh
Download for Linux, using your terminal/shell:
- wget -O betaLinuxPerformanceTool_v4.2.1.sh https://raw.githubusercontent.com/microsoft/xpdt/main/betaLinuxPerformanceTool_v4.2.1.sh && chmod a+x betaLinuxPerformanceTool_v4.2.1.sh
- ./beta<--OS-->PerformanceTool_v<--version-->.sh -h
Example:
Note that the script can be used for more advanced investigation regarding memory leaking, with the '-pl' option. An embeded calculator is available (-m flag) to provide the required parameters needed to use this option.
- ./beta<--OS-->PerformanceTool_v<--version-->.sh -ps 60
Example:
- ./betaMacOSPerformanceTool_v4.2.1.sh -ps 60
- ./beta<--OS-->PerformanceTool_v<--version-->.sh -ps 300
Example:
- ./betaMacOSPerformanceTool_v4.2.1.sh -ps 300
Confirm investigation package is created (uncompressed tarball for Linux, zip file for MacOS), is created in the directory the script was executed from:
- You should find a package named beta-<--OS-->-PerformanceTool_v<--version-->.sh-<--date-->.<tar|zip>
- Bugfixes
- Merge the two diagnostic tools in one single file
- Code revision/optimization







