Remote Profiling Jprofiler

Hi, I am very new to Jprofiler and Linux. I am trying to control my Apache Tomcat server installed on a Linux machine from the remote profiling Jprofiler that is installed on a Windows machine. Please help me in the procedure in detail. I tried all the help I could get from google, but still stuck. Any help would be appreciated. Thanks in advance.

+7
source share
1 answer

In any case, you must extract the tar.gz JProfiler for Linux file on the remote computer. No further configuration is required on the remote side. On the local side, you need a full installation of JProfiler.

There are two ways to get remote profiling:

A. Attach to a running Tomcat process

Run the bin/jpenable command-line bin/jpenable in the JProfiler distribution on the remote computer and select the Tomcat process. Then the JVM will be ready for profiling. If the profiled JVM is not listed, execute jpenable as the same user who runs the Tomcat JVM. If this helps, use alternative B.

On the local computer, create a session like "Attach to a profiled JVM (local or remote)", specify the host name of the remote machine and the profiling port that was installed using jpenable.

When you start a session, the JProfiler GUI connects to the remote computer and you will see the profiling data.

B. Use the integration wizard

Run the bin/jpintegrate jpintegrate command line uutility command in the JProfiler distribution on the remote computer and select the application server and complete the following steps.

Then proceed as in alternative A. This option is actually preferable to alternative A, and if you do not need to profile the already running JVM, you must follow this route.

+5
source

All Articles