2
|
1 |
.'" t
|
|
2 |
."
|
|
3 |
." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
|
|
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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
21 |
." CA 95054 USA or visit www.sun.com if you need additional information or
|
|
22 |
." have any questions.
|
|
23 |
."
|
|
24 |
." `
|
|
25 |
.TH jinfo 1 "05 Aug 2006"
|
|
26 |
." Generated by html2roff
|
|
27 |
|
|
28 |
.LP
|
|
29 |
.SH NAME
|
|
30 |
jinfo \- Configuration Info
|
|
31 |
.LP
|
|
32 |
.SH "SYNOPSIS"
|
|
33 |
.LP
|
|
34 |
|
|
35 |
.LP
|
|
36 |
.nf
|
|
37 |
\f3
|
|
38 |
.fl
|
|
39 |
\fP\f3jinfo\fP [ option ] pid
|
|
40 |
.fl
|
|
41 |
\f3jinfo\fP [ option ] executable core
|
|
42 |
.fl
|
|
43 |
\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP
|
|
44 |
.fl
|
|
45 |
.fi
|
|
46 |
|
|
47 |
.LP
|
|
48 |
.SH "PARAMETERS"
|
|
49 |
.LP
|
|
50 |
|
|
51 |
.LP
|
|
52 |
.TP 3
|
|
53 |
option
|
|
54 |
Options are mutually exclusive. Option, if used, should follow immediately after the command name.
|
|
55 |
.TP 3
|
|
56 |
pid
|
|
57 |
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 may be used.
|
|
58 |
.TP 3
|
|
59 |
executable
|
|
60 |
Java executable from which the core dump was produced.
|
|
61 |
.TP 3
|
|
62 |
core
|
|
63 |
core file for which the configuration info is to be printed.
|
|
64 |
.TP 3
|
|
65 |
remote\-hostname\-or\-IP
|
|
66 |
remote debug server's (see jsadebugd) hostname or IP address.
|
|
67 |
.TP 3
|
|
68 |
server\-id
|
|
69 |
optional unique id, if multiple debug servers are running on the same remote host.
|
|
70 |
.LP
|
|
71 |
.SH "DESCRIPTION"
|
|
72 |
.LP
|
|
73 |
|
|
74 |
.LP
|
|
75 |
.LP
|
|
76 |
\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.:
|
|
77 |
.br
|
|
78 |
|
|
79 |
.LP
|
|
80 |
.RS 3
|
|
81 |
|
|
82 |
.LP
|
|
83 |
jinfo \-J\-d64 \-sysprops pid
|
|
84 |
.RE
|
|
85 |
.LP
|
|
86 |
\f3NOTE \- This utility is unsupported and may or may not be available in future versions of the JDK. On Windows, jinfo only supports the \-flag option of a running process.\fP
|
|
87 |
.LP
|
|
88 |
.SH "OPTIONS"
|
|
89 |
.LP
|
|
90 |
|
|
91 |
.LP
|
|
92 |
.TP 3
|
|
93 |
<no option>
|
|
94 |
prints both command line flags as well as System properties name, value pairs.
|
|
95 |
.br
|
|
96 |
.TP 3
|
|
97 |
\-flag name
|
|
98 |
prints the name and value of the given command line flag.
|
|
99 |
.br
|
|
100 |
.TP 3
|
|
101 |
\-flag [+|\-]name
|
|
102 |
enables or disables the given boolean command line flag.
|
|
103 |
.br
|
|
104 |
.TP 3
|
|
105 |
\-flag name=value
|
|
106 |
sets the given command line flag to the specified value.
|
|
107 |
.br
|
|
108 |
.TP 3
|
|
109 |
\-flags
|
|
110 |
prints command line flags passed to the JVM. pairs.
|
|
111 |
.br
|
|
112 |
.TP 3
|
|
113 |
\-sysprops
|
|
114 |
prints Java System properties as name, value pairs.
|
|
115 |
.br
|
|
116 |
.TP 3
|
|
117 |
\-h
|
|
118 |
prints a help message
|
|
119 |
.TP 3
|
|
120 |
\-help
|
|
121 |
prints a help message
|
|
122 |
.LP
|
|
123 |
.SH "SEE ALSO"
|
|
124 |
.LP
|
|
125 |
.RS 3
|
|
126 |
.TP 2
|
|
127 |
*
|
|
128 |
jps
|
|
129 |
.TP 2
|
|
130 |
*
|
|
131 |
jsadebugd
|
|
132 |
.RE
|
|
133 |
|
|
134 |
.LP
|
|
135 |
|
|
136 |
.LP
|
|
137 |
|