No applications found SSH different user

Questions about YourKit Java Profiler
Post Reply
hoverscott
Posts: 1
Joined: Fri Jan 14, 2022 10:13 pm

No applications found SSH different user

Post by hoverscott »

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

Re: No applications found SSH different user

Post by Anton Katilin »

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
Post Reply