1 .\" Hey, EMACS: -*- nroff -*-
2 .\" (C) Copyright 2019-2020 Sven Hoexter <sven@stormbind.net>,
4 .\" First parameter, NAME, should be all caps
5 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
6 .\" other parameters are allowed: see man(7), man(1)
7 .TH JATTACH 1 "February 28 2020"
8 .\" Please adjust this date whenever revising the manpage.
10 .\" Some roff macros, for reference:
11 .\" .nh disable hyphenation
12 .\" .hy enable hyphenation
13 .\" .ad l left justify
14 .\" .ad b justify to both left and right margins
15 .\" .nf disable filling
16 .\" .fi enable filling
17 .\" .br insert line break
18 .\" .sp <n> insert n+1 empty lines
19 .\" for manpage-specific macros, see man(7)
21 jattach \- dynamc attach utility for the jvm
24 .RI "pid [load|properties|agentProperties|datadump|threaddump|dumpheap|inspectheap|setflag|printflag|jcmd] [args]"
26 jattach is an all in one jamp, jstack, jcmd, jinfo implementation as a tiny single C program.
32 print system properties
35 print agent properties
38 show heap and thread summary
41 dump all stack traces (like jstack)
43 .B dumpheap mydumpfile.hprof
44 dump heap (like jmap -dump:live,format=b)
47 create a heap histrogram (like jmap -histo)
50 modify manageable JVM flag