
# kill -s 9 19205 //Enter the project package storage directory and execute the startup command # ps -ef | grep /server /application /xw -web |grep -v grep |grep tomcat |awk '' 19205 First query the project startup process and kill it

The configuration of jprofile needs to be added at service startup: - agent lib: jprofilerti = port = 8849 - Xboot classpath / a:/opt/jprofiler11/bin/agent.jar.You can now use the JProfiler GUI to connect on port 8849 Offline mode (use config file to set profiling settings ) 1 Please select the profiling mode : GUI mode (attach with JProfiler GUI ) First select mode: 1, then enter the connection port number: 8849: # sudo -u tomcat /opt /jprofiler11 /bin /jpenableĬonnecting to /server /application /xw -web /ef9c48. # Uncomment the following line to add additional VM parametersĮxecution again, success. INSTALL4J_JAVA_HOME_OVERRIDE = /server /jdk1. The modification is as follows: # Uncomment the following line to override the JVM search sequence You need to modify the jpenable file and execute: vim jpenable edits the file. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM. The version of the JVM must be at least 1.6 and at most 11. If the following error occurs: No suitable Java Virtual Machine could be found on your system. # sudo -u tomcat /opt /jprofiler11 /bin /jpenable

Enter the / opt/jprofiler11/bin directory and execute:.Then source it for immediate effect: # source /etc /profile 8.0_151 /jre #jdk installation directoryĮxport LD_LIBRARY_PATH = /opt /jprofiler11 /bin /linux -x86 #jprofile installation directory Configure the / etc/profile file and add the followingĮxport INSTALL4J_JAVA_HOME = /server /jdk1.
#Jprofiler experience install#
After downloading, upload to the server under test under / opt, decompress, renamed: jprofiler11ĭownload and install according to the tutorial on the web page.
