Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

YourKit java profiler does not recognize my java app

Moderators: Vladimir Kondratyev, Anton Katilin

YourKit java profiler does not recognize my java app

Postby erezBerez » Thu Oct 08, 2015 8:08 am

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!!
erezBerez
 
Posts: 1
Joined: Thu Oct 08, 2015 7:49 am

Re: YourKit java profiler does not recognize my java app

Postby Anton Katilin » Mon Oct 12, 2015 11:07 am

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
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests