Remote Profiling Jprofiler

…衆ロ難τιáo~ 提交于 2019-12-04 11:37:37

问题


Hi i am very new to Jprofiler & Linux. I am trying to Monitor my Apache Tomcat server installed on a linux machine from Jprofiler remote profiling which is installed on windows machine. Kindly help me in the procedure in detail. I tried all the Help i could get from google but still stuck..any help will is appreciated. Thanks in advance.


回答1:


In any case, you should extract the JProfiler tar.gz file for Linux on the remote machine. 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 to work:

A. Attach to the running Tomcat process

Execute the command line utility bin/jpenable in the JProfiler distribution on the remote machine and select the Tomcat process. The JVM will then be ready for profiling. If the profiled JVM is not listed, execute jpenable as the same user that runs the Tomcat JVM. If that does help, use alternative B.

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

When you start session, the JProfiler GUI will connect to the remote machine and you will see profiling data.

B. Use the integration wizard

Execute the command line uutility bin/jpintegrate in the JProfiler distribution on the remote machine and select your application server and follow the subsequent steps.

Then, proceed as in alternative A. This option is actually preferable to alternative A and unless you have to profile an already running JVM, you should take this route.



来源:https://stackoverflow.com/questions/12215487/remote-profiling-jprofiler

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!