How to run Jprofiler from Windows machine to Remot

2019-06-20 05:48发布

问题:

Kindly let me know how to run Jprofiler from Windows machine to Remote Linux JVM.

Thanks a lot in advance.

回答1:

1) Go to the download page, download the .tar.gz distribution and extract it on the remote Linux machine.

2) On the remote Linux machine, start the command line utility bin/jpintegrate, then follow the steps in the command line wizard.

3) Transfer the generated JProfiler config file to your local Windows machine.

4) On your local Windows machine, start the JProfiler GUI and import the config file with Session->Import Session Settings

5) Start the profiled JVM on the remote Linux machine and the imported session in the JProfiler GUI on the Windows machine.



回答2:

for remote connect to jprofiler you can following this steps:

  1. download linux version of jprofiler.
  2. install it on linux system.
  3. go to folder bin and run ./jpenable. follow the wizard for choose the process id of jvm you want to profiled. after that it give you a port number.
  4. install the jprofiler in local machine like windows.
  5. in start center menu choose quick attach and chose the another computer. enter the host address and port number in step "3" then you can remotely connect to jprofiler