blob: be40e44b980ca640cfe6919f9ae9c08c7f772a0f [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001.'" 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
30jinfo \- 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
53option
54Options are mutually exclusive. Option, if used, should follow immediately after the command name.
55.TP 3
56pid
57process 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
59executable
60Java executable from which the core dump was produced.
61.TP 3
62core
63core file for which the configuration info is to be printed.
64.TP 3
65remote\-hostname\-or\-IP
66remote debug server's (see jsadebugd) hostname or IP address.
67.TP 3
68server\-id
69optional 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
83jinfo \-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>
94prints both command line flags as well as System properties name, value pairs.
95.br
96.TP 3
97\-flag name
98prints the name and value of the given command line flag.
99.br
100.TP 3
101\-flag [+|\-]name
102enables or disables the given boolean command line flag.
103.br
104.TP 3
105\-flag name=value
106sets the given command line flag to the specified value.
107.br
108.TP 3
109\-flags
110prints command line flags passed to the JVM. pairs.
111.br
112.TP 3
113\-sysprops
114prints Java System properties as name, value pairs.
115.br
116.TP 3
117\-h
118prints a help message
119.TP 3
120\-help
121prints a help message
122.LP
123.SH "SEE ALSO"
124.LP
125.RS 3
126.TP 2
127*
128jps
129.TP 2
130*
131jsadebugd
132.RE
133
134.LP
135
136.LP
137