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.

Usage:

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
help

Show a summary of the YourKitTools commands.

status

Print locally running applications and current profiler state.

attach PID [options]

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

guid

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

Windows only commands

install

Register agent DLLs and install the monitoring server.

uninstall

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

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.

iis-disable

Disable profiling of IIS and restarts it.

Examples

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.