jdk

Форк
0
103 строки · 3.5 Кб
1
.\" Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
2
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3
.\"
4
.\" This code is free software; you can redistribute it and/or modify it
5
.\" under the terms of the GNU General Public License version 2 only, as
6
.\" published by the Free Software Foundation.
7
.\"
8
.\" This code is distributed in the hope that it will be useful, but WITHOUT
9
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11
.\" version 2 for more details (a copy is included in the LICENSE file that
12
.\" accompanied this code).
13
.\"
14
.\" You should have received a copy of the GNU General Public License version
15
.\" 2 along with this work; if not, write to the Free Software Foundation,
16
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
.\"
18
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19
.\" or visit www.oracle.com if you need additional information or have any
20
.\" questions.
21
.\"
22
.\" Automatically generated by Pandoc 2.19.2
23
.\"
24
.\" Define V font for inline verbatim, using C font in formats
25
.\" that render this, and otherwise B font.
26
.ie "\f[CB]x\f[R]"x" \{\
27
. ftr V B
28
. ftr VI BI
29
. ftr VB B
30
. ftr VBI BI
31
.\}
32
.el \{\
33
. ftr V CR
34
. ftr VI CI
35
. ftr VB CB
36
. ftr VBI CBI
37
.\}
38
.TH "JINFO" "1" "2025" "JDK 24-ea" "JDK Commands"
39
.hy
40
.SH NAME
41
.PP
42
jinfo - generate Java configuration information for a specified Java
43
process
44
.SH SYNOPSIS
45
.PP
46
\f[B]Note:\f[R] This command is experimental and unsupported.
47
.PP
48
\f[V]jinfo\f[R] [\f[I]option\f[R]] \f[I]pid\f[R]
49
.TP
50
\f[I]option\f[R]
51
This represents the \f[V]jinfo\f[R] command-line options.
52
See \f[B]Options for the jinfo Command\f[R].
53
.TP
54
\f[I]pid\f[R]
55
The process ID for which the configuration information is to be printed.
56
The process must be a Java process.
57
To get a list of Java processes running on a machine, use either the
58
\f[V]ps\f[R] command or, if the JVM processes are not running in a
59
separate docker instance, the \f[B]jps\f[R] command.
60
.SH DESCRIPTION
61
.PP
62
The \f[V]jinfo\f[R] command prints Java configuration information for a
63
specified Java process.
64
The configuration information includes Java system properties and JVM
65
command-line flags.
66
If the specified process is running on a 64-bit JVM, then you might need
67
to specify the \f[V]-J-d64\f[R] option, for example:
68
.RS
69
.PP
70
\f[V]jinfo -J-d64 -sysprops\f[R] \f[I]pid\f[R]
71
.RE
72
.PP
73
This command is unsupported and might not be available in future
74
releases of the JDK.
75
In Windows Systems where \f[V]dbgeng.dll\f[R] is not present, the
76
Debugging Tools for Windows must be installed to have these tools work.
77
The \f[V]PATH\f[R] environment variable should contain the location of
78
the \f[V]jvm.dll\f[R] that\[aq]s used by the target process or the
79
location from which the core dump file was produced.
80
.SH OPTIONS FOR THE JINFO COMMAND
81
.PP
82
\f[B]Note:\f[R]
83
.PP
84
If none of the following options are used, both the command-line flags
85
and the system property name-value pairs are printed.
86
.TP
87
\f[V]-flag\f[R] \f[I]name\f[R]
88
Prints the name and value of the specified command-line flag.
89
.TP
90
\f[V]-flag\f[R] [\f[V]+\f[R]|\f[V]-\f[R]]\f[I]name\f[R]
91
Enables or disables the specified Boolean command-line flag.
92
.TP
93
\f[V]-flag\f[R] \f[I]name\f[R]\f[V]=\f[R]\f[I]value\f[R]
94
Sets the specified command-line flag to the specified value.
95
.TP
96
\f[V]-flags\f[R]
97
Prints command-line flags passed to the JVM.
98
.TP
99
\f[V]-sysprops\f[R]
100
Prints Java system properties as name-value pairs.
101
.TP
102
\f[V]-h\f[R] or \f[V]-help\f[R]
103
Prints a help message.
104

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.