jps - ps just for Java
July 11, 2018
I came across a command today that I didn't know existed. It's part of the JVM and it lists just the java processes running on a given machine:
$ jps 2946 org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar 3144 GradleDaemon 3083 GradleDaemon 24092 Jps
If can also list the command line arguments that were supplied:
$ …