jps monitoring tools of the virtual machine

 

jps similar functions and the ps command: lists virtual machine running processes and displays (Class Main Class, main () function resides) virtual machine executes the main class name and local processes these virtual machines unique ID (Local Virtual Machine Identifier, LVMID), similar to the ps -ef | grep java

Jps execute the following command, you can see the process ID of a running java program and class names:

1, jps -q lists only the process ID, the other is not listed

 

2, jps -m parameters listed tags to the main method

It can be seen idea java program startup parameter passing,

3, jps -l output of the full name of the main class currently running

 

For example, ps only see the name of the class, you can not see fully qualified class name, use the -l you can see the fully qualified class name
JVM parameters 4, jps -v output virtual machine process starts

 

Guess you like

Origin www.cnblogs.com/cheng21553516/p/11223459.html