jinfo.1 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. '\" t
  2. .\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
  3. .\" Arch: generic
  4. .\" Software: JDK 8
  5. .\" Date: 21 November 2013
  6. .\" SectDesc: Troubleshooting Tools
  7. .\" Title: jinfo.1
  8. .\"
  9. .if n .pl 99999
  10. .TH jinfo 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH NAME
  31. jinfo \- Generates configuration information\&. This command is experimental and unsupported\&.
  32. .SH SYNOPSIS
  33. .sp
  34. .nf
  35. \fBjinfo\fR [ \fIoption\fR ] \fIpid\fR
  36. .fi
  37. .nf
  38. \fBjinfo\fR [ \fIoption \fR] \fIexecutable core\fR
  39. .fi
  40. .nf
  41. \fBjinfo\fR [ \fIoption \fR] \fI[ servier\-id ] remote\-hostname\-or\-IP\fR
  42. .fi
  43. .sp
  44. .TP
  45. \fIoption\fR
  46. The command-line options\&. See Options\&.
  47. .TP
  48. \fIpid\fR
  49. The process ID for which the configuration information is to be printed\&. The process must be a Java process\&. To get a list of Java processes running on a machine, use the jps(1) command\&.
  50. .TP
  51. \fIexecutable\fR
  52. The Java executable from which the core dump was produced\&.
  53. .TP
  54. \fIcore\fR
  55. The core file for which the configuration information is to be printed\&.
  56. .TP
  57. \fIremote-hostname-or-IP\fR
  58. The remote debug server \f3hostname\fR or \f3IP\fR address\&. See jsadebugd(1)\&.
  59. .TP
  60. \fIserver-id\fR
  61. An optional unique ID to use when multiple debug servers are running on the same remote host\&.
  62. .SH DESCRIPTION
  63. The \f3jinfo\fR command prints Java configuration information for a specified Java process or core file or a remote debug server\&. The configuration information includes Java system properties and Java Virtual Machine (JVM) command-line flags\&. If the specified process is running on a 64-bit JVM, then you might need to specify the \f3-J-d64\fR option, for example: \f3jinfo\fR\f3-J-d64 -sysprops pid\fR\&.
  64. .PP
  65. This utility is unsupported and might not be available in future releases of the JDK\&. In Windows Systems where \f3dbgeng\&.dll\fR is not present, Debugging Tools For Windows must be installed to have these tools working\&. The \f3PATH\fR environment variable should contain the location of the jvm\&.dll that is used by the target process or the location from which the crash dump file was produced\&. For example, \f3set PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR \&.
  66. .SH OPTIONS
  67. .TP
  68. no-option
  69. Prints both command-line flags and system property name-value pairs\&.
  70. .TP
  71. -flag \fIname\fR
  72. .br
  73. Prints the name and value of the specified command-line flag\&.
  74. .TP
  75. -flag \fI[+|-]name\fR
  76. .br
  77. enables or disables the specified Boolean command-line flag\&.
  78. .TP
  79. -flag \fIname=value\fR
  80. .br
  81. Sets the specified command-line flag to the specified value\&.
  82. .TP
  83. -flags
  84. .br
  85. Prints command-line flags passed to the JVM\&.
  86. .TP
  87. -sysprops
  88. .br
  89. Prints Java system properties as name-value pairs\&.
  90. .TP
  91. -h
  92. .br
  93. Prints a help message\&.
  94. .TP
  95. -help
  96. .br
  97. Prints a help message\&.
  98. .SH SEE\ ALSO
  99. .TP 0.2i
  100. \(bu
  101. jps(1)
  102. .TP 0.2i
  103. \(bu
  104. jsadebugd(1)
  105. .RE
  106. .br
  107. 'pl 8.5i
  108. 'bp