软件包:jattach(2.2-1) [debports]
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.