21743
|
1 |
'\" 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 |
.\" -----------------------------------------------------------------
|
12047
|
51 |
|
21743
|
52 |
.SH NAME
|
|
53 |
jinfo \- Generates configuration information\&. This command is experimental and unsupported\&.
|
|
54 |
.SH SYNOPSIS
|
|
55 |
.sp
|
|
56 |
.nf
|
12047
|
57 |
|
21743
|
58 |
\fBjinfo\fR [ \fIoption\fR ] \fIpid\fR
|
|
59 |
.fi
|
|
60 |
.nf
|
12047
|
61 |
|
21743
|
62 |
\fBjinfo\fR [ \fIoption \fR] \fIexecutable core\fR
|
|
63 |
.fi
|
|
64 |
.nf
|
12047
|
65 |
|
21743
|
66 |
\fBjinfo\fR [ \fIoption \fR] \fI[ servier\-id ] remote\-hostname\-or\-IP\fR
|
|
67 |
.fi
|
|
68 |
.sp
|
|
69 |
.TP
|
|
70 |
\fIoption\fR
|
|
71 |
The command-line options\&. See Options\&.
|
|
72 |
.TP
|
|
73 |
\fIpid\fR
|
|
74 |
The 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
|
|
77 |
The Java executable from which the core dump was produced\&.
|
|
78 |
.TP
|
|
79 |
\fIcore\fR
|
|
80 |
The core file for which the configuration information is to be printed\&.
|
|
81 |
.TP
|
|
82 |
\fIremote-hostname-or-IP\fR
|
|
83 |
The remote debug server \f3hostname\fR or \f3IP\fR address\&. See jsadebugd(1)\&.
|
|
84 |
.TP
|
|
85 |
\fIserver-id\fR
|
|
86 |
An optional unique ID to use when multiple debug servers are running on the same remote host\&.
|
|
87 |
.SH DESCRIPTION
|
|
88 |
The \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
|
|
90 |
This 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
|
|
93 |
no-option
|
|
94 |
Prints both command-line flags and system property name-value pairs\&.
|
|
95 |
.TP
|
|
96 |
-flag \fIname\fR
|
12047
|
97 |
.br
|
21743
|
98 |
Prints the name and value of the specified command-line flag\&.
|
|
99 |
.TP
|
|
100 |
-flag \fI[+|-]name\fR
|
12047
|
101 |
.br
|
21743
|
102 |
enables or disables the specified Boolean command-line flag\&.
|
|
103 |
.TP
|
|
104 |
-flag \fIname=value\fR
|
12047
|
105 |
.br
|
21743
|
106 |
Sets the specified command-line flag to the specified value\&.
|
|
107 |
.TP
|
|
108 |
-flags
|
12047
|
109 |
.br
|
21743
|
110 |
Prints command-line flags passed to the JVM\&.
|
|
111 |
.TP
|
|
112 |
-sysprops
|
12047
|
113 |
.br
|
21743
|
114 |
Prints Java system properties as name-value pairs\&.
|
|
115 |
.TP
|
|
116 |
-h
|
|
117 |
.br
|
|
118 |
Prints a help message\&.
|
|
119 |
.TP
|
|
120 |
-help
|
|
121 |
.br
|
|
122 |
Prints a help message\&.
|
|
123 |
.SH SEE\ ALSO
|
|
124 |
.TP 0.2i
|
|
125 |
\(bu
|
12047
|
126 |
jps(1)
|
21743
|
127 |
.TP 0.2i
|
|
128 |
\(bu
|
12047
|
129 |
jsadebugd(1)
|
21743
|
130 |
.RE
|
|
131 |
.br
|
|
132 |
'pl 8.5i
|
|
133 |
'bp
|