Binary package “jattach” in ubuntu oracular
JVM Dynamic Attach utility all in one jmap jstack jcmd jinfo
jattach is a utility implementing commands for the JVM Dynamic Attach
mechanism. Instead of installing a complete JDK you can use this small
utility to query information from your running JVM.