LinuxCommandLibrary

jps

lists Java Virtual Machine processes

TLDR

List Java processes

$ jps
copy
Show full class names
$ jps -l
copy
Show JVM arguments
$ jps -v
copy
Show main class arguments
$ jps -m
copy
Show all information
$ jps -lvm
copy
Query remote host
$ jps -l [hostname]
copy

SYNOPSIS

jps [options] [hostid]

DESCRIPTION

jps lists Java Virtual Machine processes. It shows running Java applications with their PIDs.
The tool is the Java equivalent of ps for Java processes. It provides quick identification of Java applications.

PARAMETERS

HOSTID

Remote host to query.
-l
Show full main class name.
-v
Show JVM arguments.
-m
Show main method arguments.
-q
Show only PIDs.
--help
Display help information.

CAVEATS

Part of JDK. Shows JVM processes only. Requires same user or permissions.

HISTORY

jps has been part of the JDK since Java 5, providing process listing for Java application management.

SEE ALSO

java(1), jstack(1), jmap(1), ps(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard