jdk/src/linux/doc/man/jinfo.1
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
.'" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
." Copyright 2004-2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
." This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
." under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
." published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
." This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
." version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
." accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
." You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
." 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
." CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
." have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
." `
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
.TH jinfo 1 "05 Aug 2006"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
." Generated by html2roff
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.SH NAME
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
jinfo \- Configuration Info
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.SH "SYNOPSIS"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
\fP\f3jinfo\fP [ option ] pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
\f3jinfo\fP [ option ] executable core
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
\f3jinfo\fP [ option ] [server\-id@]remote\-hostname\-or\-IP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
.SH "PARAMETERS"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
option 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
Options are mutually exclusive. Option, if used, should follow immediately after the command name. 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
pid 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    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.   
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
executable 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
Java executable from which the core dump was produced.   
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
core 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
core file for which the configuration info is to be printed.   
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
remote\-hostname\-or\-IP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
remote debug server's (see jsadebugd) hostname or IP address.   
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
server\-id 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
optional unique id, if multiple debug servers are running on the same remote host.   
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
.SH "DESCRIPTION"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    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.:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
jinfo \-J\-d64 \-sysprops pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    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
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.SH "OPTIONS"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
<no option> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
prints both command line flags as well as System properties name, value pairs.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
\-flag name 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
prints the name and value of the given command line flag.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
\-flag [+|\-]name 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
enables or disables the given boolean command line flag.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
\-flag name=value 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
sets the given command line flag to the specified value.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
\-flags 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
prints command line flags passed to the JVM. pairs.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
\-sysprops 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
prints Java System properties as name, value pairs.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
\-h 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
prints a help message 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
\-help 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
prints a help message 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.SH "SEE ALSO"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
jps 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137