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