A few days ago wrote an article, jprofiler_ monitoring the remote Linux server tomcat process (practice), the use of jprofiler how to monitor the remote Linux tomcat process, these two days to think, in addition to monitoring the Tomcat process, Is it possible to monitor other Java processes, but to find a lap is to monitor Tomcat, so I intend to experiment with it. This article intends to package a simple Java program into a jar package and deploy it to a Linux server to run. Then use Jprofiler to monitor the jar package Java program can refer to the article: Java deployment _intellij Create a runnable jar package (practice)
operation steps as follows:1. Copy the jar package to Linux and run 2. Use Jprofiler's jpenable tool to monitor the jar package (need to first unpack the Linux installation jprofiler) jpenable directory:/usr/local/jprofiler9/bin Last output: You can now use The Jprofiler ... Represents run Success 3, Jprofiler start remote monitoring session-->new Session monitoring to Object
Jprofiler_ monitoring the JVM process of a remote Linux server (turn very good)