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