[Reprint] Jprofiler remote connection linux project monitoring

Jprofiler remote connection linux project monitoring

https://blog.csdn.net/junzhen_chen/article/details/72911427

 


Original junzhen_chen Posted on 2017-06-08 11:12:18 Reads 2460 collection
launched

install windows version Jprofiler under 1. Local System
version 1.1: jprofiler_windows-x64_9_1_1.exe
1.2: Open the installation .exe file, the installation wizard all the way next to complete the installation
1.3 License: [email protected]#23874-hrwpdp1sh1wrn#0620
[email protected]#36573-fdkscp15axjj6#25257
[email protected]#5481-ucjn4a16rvd98#6038
1.3L [email protected]#99016-hli5ay1ylizjj#27215
[email protected]#40775-3wle0g1uin5c1#0674
1.3 ----------------------- ---------------------------------------
[email protected]#7009- # 20176 14frku31ynzpfr
[email protected]#49604-1jfe58we9gyb6#5814
[email protected]#25531-1qcev4yintqkj#23927
[email protected]#96496-1qsu1lb1jz7g8w#23479
[email protected]#20948-11amlvg181cw0p#171159

Linux version Installation 2Linux Jprofiler the server
version 2.1: jprofiler_linux_9_1_1.tar.gz
2.2 Operation:
2.2.1 to copy the compressed jprofiler_linux_9_1_1.tar.gz / opt directory on the server linux
2.2.2 linux tar on the server -xf command extracting installation package /opt/jprofiler_linux_9_1_1.tar.gz


On 3Linux server configuration steps
3.1 will need to monitor the service to stop the project
under 3.2 into the need to monitor the installation bin directory of the project directory (eg: / Home / iomdesk / iomdesk_2002 / iomdesk_system / bin)
3.3 startup.sh find the file in the bin directory, copy to your local computer, and then edit startup.sh file, found in the file JAVA_OPTS, in additional to the content JAVA_OPTS "-agentpath: /opt/jprofiler9/bin/linux-x64/libjprofilerti.so=port=8849,nowait" (Note: / opt / jprofiler9 decompression after the path is relative to the point 2.2.2 jprofiler folder path)
3.4 (please this step 4. after implementation of point (local jprofiler configuration step) is completed, then perform this step )
in the bin directory to copy files locally generated startup_jprofiler.sh to the need to monitor the project installation directory (for example: / home / iomdesk / iomdesk_2002 / iomdesk_system / bin). Then start the project on a linux server using the sh startup_jprofiler.sh command.

4 local jprofiler configuration steps
4.1 Open Local installed jprofiler tool, click on the upper left corner of the main interface Start Center, click on the pop-up box to enter New Session tab, click New Server Integration button in the label


4.2 Integration Wizard pop-up window to start the configuration steps, 1.Choose wizard step, select the service container (Note: Service container projects on the server actually uses what version here choose what version of the service container, select the example here is tomcat 7.x), followed by Next

4.32.Local or remote configuration selection step selecting On a remote computer and computer drop-down box to select options Linux X86 / AMD64. Next Next

4.43.Profiled JVM selected in step corresponding java virtual machine version here need to select the corresponding version jdk version on the server to be monitored items actually used. Next Next


4.54.Startup node selected in step project start and connect to local JProfiler way to choose the way here is to wait Jprofiler connection before starting the project. After then select Next


IP address 4.65.Remote address fill in the configuration steps need to monitor the project server. Next Next


4.76.Remote installationdire fill decompression step linux installed on the directory server JProfiler (i.e. here at point 2.2.2 / opt / jprofiler9 catalog) Next Next


4.87. Locate start script step is saved in the local file selection startup.sh 3.3 points. Next Next

4.98.Choose profiling fill port monitoring port JProfiler step, the default is 8849. If this port on linux system is not used, then without modification, as has been occupied, can easily fill in a not occupied port number (Note: here the port number modification, the set point of 3.3 is also modified consistent port = 8849, otherwise, the configuration is not successful).


4.1010.Finished step choose whether to immediately launch this connection configuration, select No, I will start the session later. Do not connect immediately, because the configuration is not yet complete. Next Finish


4.11 JProfiler local configuration is complete, (back at JProfiler and projects in accordance with the instructions to configure the boot linux 3.4 points)


5 configuration is complete, turn on monitor
5.1 into the local JProfiler tool main interface, click the top left corner Start Center, in Open Session pop-up box select just configured Session, click on the Start button to start monitoring.
----------------
Disclaimer: This article is the original article CSDN bloggers "junzhen_chen", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/junzhen_chen/article/details/72911427

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/12112143.html