Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.
Easy to use performance and memory profiler for .NET Framework.

Profile remote applications

Remote profiling is the case when the profiled application and the profiler UI run on different machines, usually on a server and your developer machine correspondingly.

See also Profile local applications.

1. Enable profiling on the remote machine

Download the command line tool to the remote machine, unpack it to arbitrary directory and run the following command in command prompt started as administrator:

YourKitTools.exe enable

If you want to specify startup options, run:

YourKitTools.exe enable <comma-separated startup options>

You may need to restart Windows. For detail, please refer to the following MSDN article

Special notes on profiling a Windows service can be found here.

2. Start the application on the remote machine

Start the application you want to profile. It should start with the profiler agent.

To ensure it has started with the profiler, check whether the profiler agent log file has been created:
<user home>\.ynp\log\<session name>-<PID>.log

3. Create new connection to the remote machine

To profile .NET applications running on the remote machine with agent use Profile remote application... action on Welcome screen or in "Profile" menu.

Specify the host name or IP address of the remote machine in the opened "Profile Remote Application" dialog.

Profiler discovers applications running with the profiler agent. Ports in the given range will be scanned. By default the profiler agent port is allocated in the range 10001-10010. If the profiler port was changed with startup option 'port', also change the Profiler agent port(s) field accordingly.

SSH tunnel

If the remote host is not directly reachable you can build SSH tunnel. To do so, navigate to the SSH Tunnel tab and enable SSH tunnel using Use SSH tunnel checkbox.

4. Connect to the remote application

Created connection will appear in the "Monitor Applications" list on Welcome screen under a given name. You can then connect to the application to perform profiling.

If you do not see your application it the list, please read Remote profiling troubleshooting.

Please note that for SSH connections known hosts are not checked, and StrictHostKeyChecking SSH parameter is set to no.

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.