jps是jdk提供的一个查看当前java进程的小工具, 可以看做是JavaVirtual Machine Process Status Tool的缩写。非常简单实用。
man jps
-q
Suppresses the output of the class name, JAR file name, and arguments passed to the main
method, producing only a list of local JVM identifiers.
-m
Displays the arguments passed to the main method. The output may be null for embedded JVMs.
-l
Displays the full package name for the application’s main class or the full path name to the
application’s JAR file.
-v
Displays the arguments passed to the JVM.
-V
Suppresses the output of the class name, JAR file name, and arguments passed to the main
method, producing only a list of local JVM identifiers.