RalphDesmangles / PerfExec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PerfExec Tooling

Proof of concept tooling referenced at this blog

The code is not super clean but project contains an example performance dll that will run CMD.exe and a .NET assembly that will execute the DLL or gather performance data locally or remotely.

Two execution methods currently exist, WMI and Remote Registry

Diagnostic Run example (uses remote registry with DCOM)

.\PerfExec.exe diagrun=true service=DNS object="DNS" category="DNS" counter="Total Query Received" dllpath="C:\Users\user\SFPerf.dll" open="OpenPerformanceData" collect="CollectPerformanceData" close="ClosePerformanceData" computername=10.10.10.13

WMI Run example (uses WMI)

.\PerfExec.exe wmirun=true service=DNS object="DNS" category="TotalQueryReceived" dllpath="C:\Users\user\SFPerf.dll" open="OpenPerformanceData" collect="CollectPerformanceData" close="ClosePerformanceData" computername=10.10.10.13

Credit

Lee Christensen (@tifkin_)

About

License:GNU General Public License v3.0


Languages

Language:C# 49.4%Language:C 39.4%Language:C++ 7.6%Language:Makefile 3.5%