jps

Show JVM process status of current user. More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/jps.html>.

Install

All systems
curl cmd.cat/jps.sh
Debian Debian
apt-get install openjdk-12-jdk-headless
Ubuntu
apt-get install openjdk-12-jdk-headless
Arch Arch Linux
pacman -S java-environment-common
image/svg+xml Kali Linux
apt-get install openjdk-11-jdk-headless
Fedora
dnf install java-9-openjdk-devel-debug-1
Windows (WSL2)
sudo apt-get update sudo apt-get install openjdk-12-jdk-headless
Raspbian
apt-get install openjdk-8-jdk

Show JVM process status of current user. More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/jps.html>.

  • List all JVM processes:
    jps
  • List all JVM processes with only PID:
    jps -q
  • Display the arguments passed to the processes:
    jps -m
  • Display the full package name of all processes:
    jps -l
  • Display the arguments passed to the JVM:
    jps -v

© tl;dr; authors and contributors