jattach1
Dynamc attach utility for the jvm
Usage
jattach pid
[{load | properties | agentProperties | datadump | threaddump | dumpheap | inspectheap | setflag | printflag | jcmd}]
[args]
Overview
jattach is an all in one jmap, jstack, jcmd, jinfo implementation as a tiny single C program.
Options
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 mydumpfile.hprof dump heap (like jmap -dump:live,format=b)
inspectheap create a heap histrogram (like jmap -histo)
setflag modify manageable JVM flag
printflag print JVM flag
jcmd execute jcmd command
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.