YourKit Manually Configure Target JVM for Remote Profiling: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
java ... -agentpath:<profiler directory>/bin/linux-x86-64/libyjpagent.so | java ... -agentpath:<profiler directory>/bin/linux-x86-64/libyjpagent.so | ||
To check that Java can load the profiler agent, run: | |||
java -agentpath:<profiler-agent-path>=help |
Revision as of 00:20, 9 June 2018
External
Internal
Overview
Start the JVM with the following configuration:
java ... -agentpath:<profiler-agent-path>[=options] ...
Linux example
java ... -agentpath:<profiler directory>/bin/linux-x86-64/libyjpagent.so
To check that Java can load the profiler agent, run:
java -agentpath:<profiler-agent-path>=help