YourKit java profiler does not recognize my java app

Questions about YourKit Java Profiler
Post Reply
erezBerez
Posts: 1
Joined: Thu Oct 08, 2015 7:49 am

YourKit java profiler does not recognize my java app

Post by erezBerez »

Hi,

Hi,

I have a licensed copy of Yourkit I'm using my local computer as the controller (console) and I have installed agent on my remote under test Server, now I am trying to attach the agent to the application in order to monitor it, when I run this command: ./yjp.sh –attach, I am getting this message:

[YourKit Java Profiler 2015 build 15074] Log file: /home/deploy/.yjp/log/yjp-12811.log
No running JVMs to attach found.

Enter PID of the application you want to attach (0 to exit) and press Enter:
>

I would expect as happened before that I will be able to see a list of applications's ids which is empty , how can I make it visible or what am I'm doing wrong?


Thanks!!
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: YourKit java profiler does not recognize my java app

Post by Anton Katilin »

The JVM attach works for the applications running under the same user only. Under which user does the application you want to attach run? You should run "yjp -attach" under the same.

Alternatively, please consider running the application with the agent instead:
https://www.yourkit.com/docs/java/help/ ... remote.jsp
Post Reply