jps - list the instrumented JVMs on the target system
jps [-l] [-m] [-v]
Options you will use
-l- Full jar path or main class.
-v- JVM arguments.
-m- Arguments passed to main.
-q- Only the PIDs.
Examples
$ sudo jps -lvEvery JVM on the box with its flags.
Gotchas
- Only lists JVMs whose hsperfdata this user can read.
Try jps in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.