5865
|
1 |
." Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
|
2
|
2 |
." 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 |
."
|
5506
|
18 |
." 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.
|
2
|
21 |
."
|
5865
|
22 |
.TH jinfo 1 "02 Jun 2010"
|
2
|
23 |
|
|
24 |
.LP
|
2692
|
25 |
.SH "Name"
|
2
|
26 |
jinfo \- 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
|
2692
|
48 |
.RS 3
|
2
|
49 |
.TP 3
|
|
50 |
option
|
|
51 |
Options are mutually exclusive. Option, if used, should follow immediately after the command name.
|
2692
|
52 |
.RS 3
|
2
|
53 |
.TP 3
|
|
54 |
pid
|
2692
|
55 |
process 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
|
2
|
58 |
.TP 3
|
|
59 |
executable
|
2692
|
60 |
Java executable from which the core dump was produced.
|
|
61 |
.RE
|
|
62 |
.RS 3
|
2
|
63 |
.TP 3
|
|
64 |
core
|
2692
|
65 |
core file for which the configuration info is to be printed.
|
|
66 |
.RE
|
|
67 |
.RS 3
|
2
|
68 |
.TP 3
|
|
69 |
remote\-hostname\-or\-IP
|
2692
|
70 |
remote debug server's (see jsadebugd(1)) hostname or IP address.
|
|
71 |
.RE
|
|
72 |
.RS 3
|
2
|
73 |
.TP 3
|
|
74 |
server\-id
|
2692
|
75 |
optional unique id, if multiple debug servers are running on the same remote host.
|
|
76 |
.RE
|
|
77 |
.RE
|
|
78 |
|
2
|
79 |
.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
|
|
92 |
jinfo \-J\-d64 \-sysprops pid
|
|
93 |
.RE
|
|
94 |
.LP
|
2692
|
95 |
\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
|
2
|
99 |
.LP
|
|
100 |
.SH "OPTIONS"
|
|
101 |
.LP
|
|
102 |
|
|
103 |
.LP
|
2692
|
104 |
.RS 3
|
2
|
105 |
.TP 3
|
|
106 |
<no option>
|
|
107 |
prints both command line flags as well as System properties name, value pairs.
|
|
108 |
.br
|
|
109 |
.TP 3
|
|
110 |
\-flag name
|
|
111 |
prints the name and value of the given command line flag.
|
|
112 |
.br
|
|
113 |
.TP 3
|
|
114 |
\-flag [+|\-]name
|
|
115 |
enables or disables the given boolean command line flag.
|
|
116 |
.br
|
|
117 |
.TP 3
|
|
118 |
\-flag name=value
|
|
119 |
sets the given command line flag to the specified value.
|
|
120 |
.br
|
|
121 |
.TP 3
|
|
122 |
\-flags
|
|
123 |
prints command line flags passed to the JVM. pairs.
|
|
124 |
.br
|
|
125 |
.TP 3
|
|
126 |
\-sysprops
|
|
127 |
prints Java System properties as name, value pairs.
|
|
128 |
.br
|
|
129 |
.TP 3
|
|
130 |
\-h
|
|
131 |
prints a help message
|
|
132 |
.TP 3
|
|
133 |
\-help
|
|
134 |
prints a help message
|
2692
|
135 |
.RE
|
|
136 |
|
2
|
137 |
.LP
|
|
138 |
.SH "SEE ALSO"
|
|
139 |
.LP
|
|
140 |
.RS 3
|
|
141 |
.TP 2
|
2692
|
142 |
o
|
|
143 |
jps(1)
|
2
|
144 |
.TP 2
|
2692
|
145 |
o
|
|
146 |
jsadebugd(1)
|
2
|
147 |
.RE
|
|
148 |
|
|
149 |
.LP
|
|
150 |
|