I am trying to do remote profiling (since I don't have access to UI on the remote machine) via command line as mentioned in the below link
https://www.yourkit.com/docs/java/help/command_line_tool.jsp
I have started the application with profiler agent and I have done a CPU sampling.
root@platform1:/tmp/tuk/YourKit-JavaProfiler# java -jar lib/yjp-controller-api-redist.jar localhost 10002 start-sampling
CPU sampling started
root@platform1:/tmp/tuk/YourKit-JavaProfiler# java -jar lib/yjp-controller-api-redist.jar localhost 10002 stop-cpu-profiling
CPU profiling stopped
Can some let me know
- Where the sampling data is saved and how can I analyze it next?
- Is it possible to transfer the sampling date to my local so that I can analyze it via yourkit UI?
This has been answered yourkit forum. Posting the answer below