blob: 04133792f136dc6342e77412aebb192d8cb13629 [file] [log] [blame]
bpatel87d64cc2010-07-14 15:42:06 -07001." Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
duke6e45e102007-12-01 00:00:00 +00002." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3."
4." This code is free software; you can redistribute it and/or modify it
5." under the terms of the GNU General Public License version 2 only, as
6." published by the Free Software Foundation.
7."
8." This code is distributed in the hope that it will be useful, but WITHOUT
9." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11." version 2 for more details (a copy is included in the LICENSE file that
12." accompanied this code).
13."
14." You should have received a copy of the GNU General Public License version
15." 2 along with this work; if not, write to the Free Software Foundation,
16." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17."
ohair2283b9d2010-05-25 15:58:33 -070018." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19." or visit www.oracle.com if you need additional information or have any
20." questions.
duke6e45e102007-12-01 00:00:00 +000021."
bpatel87d64cc2010-07-14 15:42:06 -070022.TH jinfo 1 "02 Jun 2010"
duke6e45e102007-12-01 00:00:00 +000023
24.LP
tbell16c34dd2009-05-04 18:28:26 -070025.SH "Name"
duke6e45e102007-12-01 00:00:00 +000026jinfo \- Configuration Info
27.LP
28.SH "SYNOPSIS"
29.LP
30
31.LP
32.nf
33\f3
34.fl
35\fP\f3jinfo\fP [ option ] pid
36.fl
37\f3jinfo\fP [ option ] executable core
38.fl
39\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP
40.fl
41.fi
42
43.LP
44.SH "PARAMETERS"
45.LP
46
47.LP
tbell16c34dd2009-05-04 18:28:26 -070048.RS 3
duke6e45e102007-12-01 00:00:00 +000049.TP 3
50option
51Options are mutually exclusive. Option, if used, should follow immediately after the command name.
tbell16c34dd2009-05-04 18:28:26 -070052.RS 3
duke6e45e102007-12-01 00:00:00 +000053.TP 3
54pid
tbell16c34dd2009-05-04 18:28:26 -070055process id for which the configuration info is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used.
56.RE
57.RS 3
duke6e45e102007-12-01 00:00:00 +000058.TP 3
59executable
tbell16c34dd2009-05-04 18:28:26 -070060Java executable from which the core dump was produced.
61.RE
62.RS 3
duke6e45e102007-12-01 00:00:00 +000063.TP 3
64core
tbell16c34dd2009-05-04 18:28:26 -070065core file for which the configuration info is to be printed.
66.RE
67.RS 3
duke6e45e102007-12-01 00:00:00 +000068.TP 3
69remote\-hostname\-or\-IP
tbell16c34dd2009-05-04 18:28:26 -070070remote debug server's (see jsadebugd(1)) hostname or IP address.
71.RE
72.RS 3
duke6e45e102007-12-01 00:00:00 +000073.TP 3
74server\-id
tbell16c34dd2009-05-04 18:28:26 -070075optional unique id, if multiple debug servers are running on the same remote host.
76.RE
77.RE
78
duke6e45e102007-12-01 00:00:00 +000079.LP
80.SH "DESCRIPTION"
81.LP
82
83.LP
84.LP
85\f3jinfo\fP prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. If the given process is running on a 64\-bit VM, you may need to specify the \f2\-J\-d64\fP option, e.g.:
86.br
87
88.LP
89.RS 3
90
91.LP
92jinfo \-J\-d64 \-sysprops pid
93.RE
94.LP
tbell16c34dd2009-05-04 18:28:26 -070095\f3NOTE \- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' need to be installed to have these tools working. Also, \fP\f4PATH\fP\f3 environment variable should contain the location of \fP\f4jvm.dll\fP\f3 used by the target process or the location from which the Crash Dump file was produced.\fP
96.LP
97.LP
98\f3For example, \fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
duke6e45e102007-12-01 00:00:00 +000099.LP
100.SH "OPTIONS"
101.LP
102
103.LP
tbell16c34dd2009-05-04 18:28:26 -0700104.RS 3
duke6e45e102007-12-01 00:00:00 +0000105.TP 3
106<no option>
107prints both command line flags as well as System properties name, value pairs.
108.br
109.TP 3
110\-flag name
111prints the name and value of the given command line flag.
112.br
113.TP 3
114\-flag [+|\-]name
115enables or disables the given boolean command line flag.
116.br
117.TP 3
118\-flag name=value
119sets the given command line flag to the specified value.
120.br
121.TP 3
122\-flags
123prints command line flags passed to the JVM. pairs.
124.br
125.TP 3
126\-sysprops
127prints Java System properties as name, value pairs.
128.br
129.TP 3
130\-h
131prints a help message
132.TP 3
133\-help
134prints a help message
tbell16c34dd2009-05-04 18:28:26 -0700135.RE
136
duke6e45e102007-12-01 00:00:00 +0000137.LP
138.SH "SEE ALSO"
139.LP
140.RS 3
141.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700142o
143jps(1)
duke6e45e102007-12-01 00:00:00 +0000144.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700145o
146jsadebugd(1)
duke6e45e102007-12-01 00:00:00 +0000147.RE
148
149.LP
duke6e45e102007-12-01 00:00:00 +0000150