.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2019-2024 Sven Hoexter , .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH JATTACH 1 "January 16 2024" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME jattach \- dynamc attach utility for the jvm .SH SYNOPSIS .B jattach .RI "pid [load|properties|agentProperties|datadump|threaddump|dumpheap|inspectheap|setflag|printflag|jcmd] [args]" .SH DESCRIPTION jattach is an all in one jmap, jstack, jcmd, jinfo implementation as a tiny single C program. .SH OPTIONS .B load load agent library .PP .B properties print system properties .PP .B agentProperties print agent properties .PP .B datadump show heap and thread summary .PP .B threaddump dump all stack traces (like jstack) .PP .B dumpheap mydumpfile.hprof dump heap (like jmap -dump:live,format=b) .PP .B inspectheap create a heap histrogram (like jmap -histo) .PP .B setflag modify manageable JVM flag .PP .B printflag print JVM flag .PP .B jcmd execute jcmd command