Forrest logo
back to the jps tool

jps:tldr:5d349

jps: List all JVM processes with only PID.
$ jps -q
try on your machine

The command "jps -q" is used to display the Process Identifiers (PIDs) of all running Java processes in a simplified and quiet format.

Here's what each part of the command does:

  • "jps" stands for Java Virtual Machine Process Status Tool. It is a utility provided by Java Development Kit (JDK) to list all Java processes currently running on a system.

  • "-q" is an optional flag that stands for "quiet" mode. When used with "jps", it suppresses the output of the class name, allowing only the PID to be displayed.

Combining these together, the "jps -q" command will provide a concise list of only the PIDs of all running Java processes, without any extra information.

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