Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

No applications found SSH different user

Moderators: Vladimir Kondratyev, Anton Katilin

No applications found SSH different user

Postby hoverscott » Fri Jan 14, 2022 10:17 pm

Hi I'm connecting remotely using SSH to the server that hosts the application. The application is run from a different user than I am able to connect with. The command
Code: Select all
jps
outputs nothing, but
Code: Select all
sudo jps
outputs the correct jar. This seems like a permission issue caused by my SSH access coming from a different user than what the jar is being run under. Also, I am currently not running with the agent. Is there any workaround that doesn't involve running with the agent? Thank you.
hoverscott
 
Posts: 1
Joined: Fri Jan 14, 2022 10:13 pm

Re: No applications found SSH different user

Postby Anton Katilin » Mon Jan 17, 2022 8:06 am

Hi,

The profiler agent must be loaded to enable profiling.

Please try to attach the profiler agent by running the console attach wizard under the target process' user :
https://www.yourkit.com/docs/java/help/ ... wizard.jsp
Anton Katilin
 
Posts: 6104
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.