Hi
I have a need to attach profile using API and passing PID. In Controller API, i dont see a method to pass PID. Its only possible to pass the agent port number which means i need to run my process with agent. Is it possible to attach to a process using PID while using Controller API?
Thanks
Jatin
Attach with PID using Profile API
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Attach with PID using Profile API
Hi Jatin
The profiler API implies that the agent has loaded, either on start or via attaching it to a running JVM.
You should first run the attach wizard command with the PID specified as described here:
https://www.yourkit.com/docs/java/help/ ... wizard.jsp
Best regards,
Anton
The profiler API implies that the agent has loaded, either on start or via attaching it to a running JVM.
You should first run the attach wizard command with the PID specified as described here:
https://www.yourkit.com/docs/java/help/ ... wizard.jsp
Best regards,
Anton