]> git.sven.stormbind.net Git - sven/jattach.git/blob - debian/jattach.1
New upstream release.
[sven/jattach.git] / debian / jattach.1
1 .\"                                      Hey, EMACS: -*- nroff -*-
2 .\" (C) Copyright 2019-2020 Sven Hoexter <sven@stormbind.net>,
3 .\"
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.
9 .\"
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)
20 .SH NAME
21 jattach \- dynamc attach utility for the jvm
22 .SH SYNOPSIS
23 .B jattach
24 .RI "pid [load|properties|agentProperties|datadump|threaddump|dumpheap|inspectheap|setflag|printflag|jcmd] [args]"
25 .SH DESCRIPTION
26 jattach is an all in one jamp, jstack, jcmd, jinfo implementation as a tiny single C program.
27 .SH OPTIONS
28 .B load
29 load agent library
30 .PP
31 .B properties
32 print system properties
33 .PP
34 .B agentProperties
35 print agent properties
36 .PP
37 .B datadump
38 show heap and thread summary
39 .PP
40 .B threaddump
41 dump all stack traces (like jstack)
42 .PP
43 .B dumpheap mydumpfile.hprof
44 dump heap (like jmap -dump:live,format=b)
45 .PP
46 .B inspectheap
47 create a heap histrogram (like jmap -histo)
48 .PP
49 .B setflag
50 modify manageable JVM flag
51 .PP
52 .B printflag
53 print JVM flag
54 .PP
55 .B jcmd
56 execute jcmd command