File: jattach.1

package info (click to toggle)
jattach 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: ansic: 946; makefile: 61
file content (56 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\"                                      Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2019-2024 Sven Hoexter <sven@stormbind.net>,
.\"
.\" 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 <n>    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