Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy-to-use performance and memory .NET profiler for Windows, Linux and macOS.
Secure and easy profiling in cloud, containers and clustered environments.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Command line tool to control profiling

Command line tool allows you to control profiling without using the profiler graphical user interface. It is especially useful when profiling applications on a remote machine to which you have only console access.

On Windows some operations the tool performs require administrative privileges. You may want to use it from within a command prompt (cmd.exe) running as administrator.


On Windows

<Profiler Installation Directory>\bin\YourKitTools.bat <command>

On macOS

<Profiler Installation Directory>/Contents/Resources/bin/YourKitTools.sh <command>

On Linux

<Profiler Installation Directory>/bin/YourKitTools.sh <command>

Available commands

Command Description

Show a summary of the YourKitTools commands.


Print locally running applications and current profiler state.

attach PID [options]

Attach profiler agent to a local .NET process with specified startup options.


Print the profiler GUID needed to manually enable profiling of a standalone application.

Windows only commands


Register agent DLLs and install the monitoring server.


Disable profiling, unregister agent DLLs and uninstall monitoring server.

enable [options]

Enable profiling of all .NET processes that will start on this machine with specified startup options.


Disable profiling of all .NET processes which was enabled with enable command.

iis-enable [options]

Enable profiling of IIS with specified startup options and restarts it.


Disable profiling of IIS and restarts it.


YourKitTools.bat attach 6942
YourKitTools.bat iis-enable tracing,alloceach=10

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.