Is there any sort of CLI tool that can be used to launch the GUI to a specific connection? Ideally with SSH, but w/o is fine -- I'm trying to automate creating a connection easily from an internal tool.
A URL format for the same that was registered in the system would be even better.
--Mike
CLI Method for Launching GUI to host:port
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: CLI Method for Launching GUI to host:port
Hello Mike
Currently there is no command line option for yourkit.jar to launch the profiler UI with opening host:port.
There is an option -agentport=<port> which is used internally by the profiler plugin's action "Profile" for launching the profiler UI and connecting to given profiled process. This option assumes the host is always "localhost", but I think you can try using it if you manually establish port forwarding e.g. via an SSH tunnel.
Best regards,
Anton
Currently there is no command line option for yourkit.jar to launch the profiler UI with opening host:port.
There is an option -agentport=<port> which is used internally by the profiler plugin's action "Profile" for launching the profiler UI and connecting to given profiled process. This option assumes the host is always "localhost", but I think you can try using it if you manually establish port forwarding e.g. via an SSH tunnel.
Best regards,
Anton
-
- Posts: 9
- Joined: Thu Jan 06, 2011 9:13 pm
Re: CLI Method for Launching GUI to host:port
Thanks -- I think that that will be sufficient in the short run. In the long run, a URL format would be ideal because I could create clickable links in some of our internal tools when profiling was enabled.
--Mike
--Mike
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: CLI Method for Launching GUI to host:port
Hi Mike
> a URL format would be ideal
Could you please describe your suggestion in more detail.
Will it help if we add yourkit.jar option "-connect host:port" for direct connection?
Best regards,
Anton
> a URL format would be ideal
Could you please describe your suggestion in more detail.
Will it help if we add yourkit.jar option "-connect host:port" for direct connection?
Best regards,
Anton