blob: 42a5ebd3b18d00195c5d8be216a30b360c603a7d [file] [log] [blame]
rgallardb6435452013-11-25 20:19:02 -08001'\" t
2.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
3.\"
4.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5.\"
6.\" This code is free software; you can redistribute it and/or modify it
7.\" under the terms of the GNU General Public License version 2 only, as
8.\" published by the Free Software Foundation.
9.\"
10.\" This code is distributed in the hope that it will be useful, but WITHOUT
11.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13.\" version 2 for more details (a copy is included in the LICENSE file that
14.\" accompanied this code).
15.\"
16.\" You should have received a copy of the GNU General Public License version
17.\" 2 along with this work; if not, write to the Free Software Foundation,
18.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19.\"
20.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21.\" or visit www.oracle.com if you need additional information or have any
22.\" questions.
23.\"
24.\" Arch: generic
25.\" Software: JDK 8
26.\" Date: 21 November 2013
27.\" SectDesc: Troubleshooting Tools
28.\" Title: jinfo.1
29.\"
30.if n .pl 99999
31.TH jinfo 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
32.\" -----------------------------------------------------------------
33.\" * Define some portability stuff
34.\" -----------------------------------------------------------------
35.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36.\" http://bugs.debian.org/507673
37.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
38.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39.ie \n(.g .ds Aq \(aq
40.el .ds Aq '
41.\" -----------------------------------------------------------------
42.\" * set default formatting
43.\" -----------------------------------------------------------------
44.\" disable hyphenation
45.nh
46.\" disable justification (adjust text to left margin only)
47.ad l
48.\" -----------------------------------------------------------------
49.\" * MAIN CONTENT STARTS HERE *
50.\" -----------------------------------------------------------------
duke6e45e102007-12-01 00:00:00 +000051
rgallardb6435452013-11-25 20:19:02 -080052.SH NAME
53jinfo \- Generates configuration information\&. This command is experimental and unsupported\&.
54.SH SYNOPSIS
55.sp
56.nf
duke6e45e102007-12-01 00:00:00 +000057
rgallardb6435452013-11-25 20:19:02 -080058\fBjinfo\fR [ \fIoption\fR ] \fIpid\fR
59.fi
60.nf
bpatel4bf512b2011-05-11 08:30:46 -070061
rgallardb6435452013-11-25 20:19:02 -080062\fBjinfo\fR [ \fIoption \fR] \fIexecutable core\fR
63.fi
64.nf
bpatel4bf512b2011-05-11 08:30:46 -070065
rgallardb6435452013-11-25 20:19:02 -080066\fBjinfo\fR [ \fIoption \fR] \fI[ servier\-id ] remote\-hostname\-or\-IP\fR
67.fi
68.sp
69.TP
70\fIoption\fR
71The command-line options\&. See Options\&.
72.TP
73\fIpid\fR
74The process ID for which the configuration information is to be printed\&. The process must be a Java process\&. To get a list of Java processes running on a machine, use the jps(1) command\&.
75.TP
76\fIexecutable\fR
77The Java executable from which the core dump was produced\&.
78.TP
79\fIcore\fR
80The core file for which the configuration information is to be printed\&.
81.TP
82\fIremote-hostname-or-IP\fR
83The remote debug server \f3hostname\fR or \f3IP\fR address\&. See jsadebugd(1)\&.
84.TP
85\fIserver-id\fR
86An optional unique ID to use when multiple debug servers are running on the same remote host\&.
87.SH DESCRIPTION
88The \f3jinfo\fR command prints Java configuration information for a specified Java process or core file or a remote debug server\&. The configuration information includes Java system properties and Java Virtual Machine (JVM) command-line flags\&. If the specified process is running on a 64-bit JVM, then you might need to specify the \f3-J-d64\fR option, for example: \f3jinfo\fR\f3-J-d64 -sysprops pid\fR\&.
89.PP
90This utility is unsupported and might not be available in future releases of the JDK\&. In Windows Systems where \f3dbgeng\&.dll\fR is not present, Debugging Tools For Windows must be installed to have these tools working\&. The \f3PATH\fR environment variable should contain the location of the jvm\&.dll that is used by the target process or the location from which the crash dump file was produced\&. For example, \f3set PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR \&.
91.SH OPTIONS
92.TP
93no-option
94Prints both command-line flags and system property name-value pairs\&.
95.TP
96-flag \fIname\fR
duke6e45e102007-12-01 00:00:00 +000097.br
rgallardb6435452013-11-25 20:19:02 -080098Prints the name and value of the specified command-line flag\&.
99.TP
100-flag \fI[+|-]name\fR
duke6e45e102007-12-01 00:00:00 +0000101.br
rgallardb6435452013-11-25 20:19:02 -0800102enables or disables the specified Boolean command-line flag\&.
103.TP
104-flag \fIname=value\fR
duke6e45e102007-12-01 00:00:00 +0000105.br
rgallardb6435452013-11-25 20:19:02 -0800106Sets the specified command-line flag to the specified value\&.
107.TP
108-flags
duke6e45e102007-12-01 00:00:00 +0000109.br
rgallardb6435452013-11-25 20:19:02 -0800110Prints command-line flags passed to the JVM\&.
111.TP
112-sysprops
duke6e45e102007-12-01 00:00:00 +0000113.br
rgallardb6435452013-11-25 20:19:02 -0800114Prints Java system properties as name-value pairs\&.
115.TP
116-h
duke6e45e102007-12-01 00:00:00 +0000117.br
rgallardb6435452013-11-25 20:19:02 -0800118Prints a help message\&.
119.TP
120-help
duke6e45e102007-12-01 00:00:00 +0000121.br
rgallardb6435452013-11-25 20:19:02 -0800122Prints a help message\&.
123.SH SEE\ ALSO
124.TP 0.2i
125\(bu
126jps(1)
127.TP 0.2i
128\(bu
129jsadebugd(1)
130.RE
131.br
132'pl 8.5i
133'bp