Forrest logo
back to the jps tool


jps: Display the arguments passed to the processes.
$ jps -m
try on your machine

The command "jps -m" is used to list all the Java Virtual Machines (JVMs) running on your system along with their main class or application's fully qualified name.

Here is a breakdown of the command components:

  • "jps" is the tool provided by Java Development Kit (JDK) to list all the active JVMs on your system.
  • "-m" is an optional argument that tells "jps" to display the main class or application's fully qualified name for each JVM.

When you execute the "jps -m" command in your terminal or command prompt, it will display a list of JVM processes along with their process IDs (PIDs) and the fully qualified name of the main class or application they are running. This information can be useful for monitoring running Java processes and identifying which application is associated with each JVM.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the jps tool