Catalin Florea 10/01/2020: VM Dynamic Attach utility which allows capturing threaddumps, heapdumps and jvm info from command line. The utility to send commands to remote JVM via Dynamic Attach mechanism. All-in-one jmap + jstack + jcmd + jinfo functionality in a single tiny program. No installed JDK required, works with just JRE. Supports Linux containers and Docker also. This is the lightweight native version of HotSpot Attach API https://docs.oracle.com/javase/8/docs/jdk/api/attach/spec/ Supported commands: load : load agent library properties : print system properties agentProperties : print agent properties datadump : show heap and thread summary threaddump : dump all stack traces (like jstack) dumpheap : dump heap (like jmap) inspectheap : heap histogram (like jmap -histo) setflag : modify manageable VM flag printflag : print VM flag Examples of usage: Load JVMTI agent $ jattach load <.so-path> { true | false } [ options ] List available jcmd commands $ jattach jcmd "help -all" Capture a heapdump for PID 17628 on Windows: D:\kit\jattach>jattach.exe 17628 dumpheap d:\kit\ABSSolute_9.04.00.hprof More here: https://github.com/apangin/jattach https://dev.to/jarekprzygodzki/generating-jvm-memory-dumps-from-jre-h8c