JVM Monitoring tool 2---Jprofiler
1. Jprofiler is a commercial tool for monitoring JVM
Official website: http://www.ej-technologies.com/products/jprofiler/overview.html
Full function, heavy weight, complex use, high requirements, and memory consumption of the tool itself.
two。 Monitoring mode
Waiting mode
Non-wait mode: tomcat starts independently and Jprofiler can connect at any time. Usually choose this one.
Offline mode
3. Create a monitoring remote tomcat
Install the tomcat7.0:tomcat7.0 package locally and decompress it locally.
Remote server-side installation of jprofile service
Establish / opt/jprofiler7 in 1.linux
2.cd / opt/jprofiler7
3. Put jprofiler_linux_7_1_2.sh in there.
4.chmod + x * .sh
5../jprofiler_linux_7_1_2.sh-c
6. Enter directly in the first step of the installation, and enter 2 enter in the second step, which means customization. You can change the installation path later to / opt/jprofiler7
Install Jprofiler locally (.zip for jProfiler7.1.2 64-bit or .zip for jProfiler7.1.2 32-bit)
Note that the local tomcat version should be consistent with the server
Under the tomcat\ bin directory, find startup_jprofiler.sh and copy it to the same directory as the server tomcat
If tomcat has been started, kill it with the kill command first.
Execute the command sh startup_jprofiler.sh under the server tomcat\ bin directory
Wait a moment and you will see something like Server startup in xxx ms.
Remote connection to tomcat service in jprofiler