12047
|
1 |
." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
|
|
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 |
."
|
|
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.
|
|
21 |
."
|
|
22 |
.TH jinfo 1 "10 May 2011"
|
|
23 |
|
|
24 |
.LP
|
|
25 |
.SH "Name"
|
|
26 |
jinfo \- Configuration Info
|
|
27 |
.LP
|
|
28 |
.SH "SYNOPSIS"
|
|
29 |
.LP
|
|
30 |
.nf
|
|
31 |
\f3
|
|
32 |
.fl
|
|
33 |
\fP\f3jinfo\fP [ option ] pid
|
|
34 |
.fl
|
|
35 |
\f3jinfo\fP [ option ] executable core
|
|
36 |
.fl
|
|
37 |
\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP
|
|
38 |
.fl
|
|
39 |
.fi
|
|
40 |
|
|
41 |
.LP
|
|
42 |
.SH "PARAMETERS"
|
|
43 |
.LP
|
|
44 |
.RS 3
|
|
45 |
.TP 3
|
|
46 |
option
|
|
47 |
Options are mutually exclusive. Option, if used, should follow immediately after the command name.
|
|
48 |
.RE
|
|
49 |
|
|
50 |
.LP
|
|
51 |
.RS 3
|
|
52 |
.TP 3
|
|
53 |
pid
|
|
54 |
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.
|
|
55 |
.RE
|
|
56 |
|
|
57 |
.LP
|
|
58 |
.RS 3
|
|
59 |
.TP 3
|
|
60 |
executable
|
|
61 |
Java executable from which the core dump was produced.
|
|
62 |
.RE
|
|
63 |
|
|
64 |
.LP
|
|
65 |
.RS 3
|
|
66 |
.TP 3
|
|
67 |
core
|
|
68 |
core file for which the configuration info is to be printed.
|
|
69 |
.RE
|
|
70 |
|
|
71 |
.LP
|
|
72 |
.RS 3
|
|
73 |
.TP 3
|
|
74 |
remote\-hostname\-or\-IP
|
|
75 |
remote debug server's (see jsadebugd(1)) hostname or IP address.
|
|
76 |
.RE
|
|
77 |
|
|
78 |
.LP
|
|
79 |
.RS 3
|
|
80 |
.TP 3
|
|
81 |
server\-id
|
|
82 |
optional unique id, if multiple debug servers are running on the same remote host.
|
|
83 |
.RE
|
|
84 |
|
|
85 |
.LP
|
|
86 |
.SH "DESCRIPTION"
|
|
87 |
.LP
|
|
88 |
.LP
|
|
89 |
\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.:
|
|
90 |
.br
|
|
91 |
jinfo \-J\-d64 \-sysprops pid
|
|
92 |
.LP
|
|
93 |
.LP
|
|
94 |
\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
|
|
95 |
.LP
|
|
96 |
.LP
|
|
97 |
\f3For example, \fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
|
|
98 |
.LP
|
|
99 |
.SH "OPTIONS"
|
|
100 |
.LP
|
|
101 |
.RS 3
|
|
102 |
.TP 3
|
|
103 |
<no option>
|
|
104 |
prints both command line flags as well as System properties name, value pairs.
|
|
105 |
.br
|
|
106 |
.TP 3
|
|
107 |
\-flag name
|
|
108 |
prints the name and value of the given command line flag.
|
|
109 |
.br
|
|
110 |
.TP 3
|
|
111 |
\-flag [+|\-]name
|
|
112 |
enables or disables the given boolean command line flag.
|
|
113 |
.br
|
|
114 |
.TP 3
|
|
115 |
\-flag name=value
|
|
116 |
sets the given command line flag to the specified value.
|
|
117 |
.br
|
|
118 |
.TP 3
|
|
119 |
\-flags
|
|
120 |
prints command line flags passed to the JVM. pairs.
|
|
121 |
.br
|
|
122 |
.TP 3
|
|
123 |
\-sysprops
|
|
124 |
prints Java System properties as name, value pairs.
|
|
125 |
.br
|
|
126 |
.TP 3
|
|
127 |
\-h
|
|
128 |
prints a help message
|
|
129 |
.TP 3
|
|
130 |
\-help
|
|
131 |
prints a help message
|
|
132 |
.RE
|
|
133 |
|
|
134 |
.LP
|
|
135 |
.SH "SEE ALSO"
|
|
136 |
.LP
|
|
137 |
.RS 3
|
|
138 |
.TP 2
|
|
139 |
o
|
|
140 |
jps(1)
|
|
141 |
.TP 2
|
|
142 |
o
|
|
143 |
jsadebugd(1)
|
|
144 |
.RE
|
|
145 |
|
|
146 |
.LP
|
|
147 |
|