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.

Profiler command line

Profiler command line may be useful in automation purposes or for remote profiling, when you only have console access to the remote machine and no UI is available.

Usage

Linux

<profiler directory>/bin/profiler.sh <options>

macOS

<profiler directory>/Contents/Resources/bin/profiler.sh <options>

Windows

<profiler directory>/bin/profiler.bat <options>

Accept EULA

To accept profiler EULA without the UI, use command line option -accept-eula. It can be used for unattended installation and in combination with other options.

Convert snapshot to HPROF

Command line can be used to create HPROF file from an existing .snapshot file.

Enter license key

To enter license key without the UI, use command line option -license-key=<key>. It can be used for unattended installation and in combination with other options.

Export profiling results

It is possible to export profiling results into multiple formats using just the command line.

Integration with Java servers

This article describes how to use command line to integrate profiler with Java server.

Profiling an application

Command line is enough to control profiling using HTTP API. You can also profile an already running process using attach feature.

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content, 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.