author | sundar |
Mon, 31 Aug 2015 17:51:02 +0530 | |
changeset 32434 | 769b3d81ae69 |
parent 31876 | 91b22707521a |
permissions | -rw-r--r-- |
23600 | 1 |
'\" t |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2 |
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved. |
23600 | 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 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
11 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
23600 | 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
.\" or visit www.oracle.com if you need additional information or have any |
|
21 |
.\" questions. |
|
22 |
.\" |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
23 |
.\" Title: jstack |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
24 |
.\" Language: Japanese |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
25 |
.\" Date: 2013年11月21日 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
26 |
.\" SectDesc: トラブルシューティング・ツール |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
27 |
.\" Software: JDK 8 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
28 |
.\" Arch: 汎用 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
29 |
.\" Part Number: E58103-01 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
30 |
.\" Doc ID: JSSON |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
31 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
32 |
.if n .pl 99999 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
33 |
.TH "jstack" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール" |
23600 | 34 |
.\" ----------------------------------------------------------------- |
35 |
.\" * Define some portability stuff |
|
36 |
.\" ----------------------------------------------------------------- |
|
37 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
38 |
.\" http://bugs.debian.org/507673 |
|
39 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
|
40 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
41 |
.ie \n(.g .ds Aq \(aq |
|
42 |
.el .ds Aq ' |
|
43 |
.\" ----------------------------------------------------------------- |
|
44 |
.\" * set default formatting |
|
45 |
.\" ----------------------------------------------------------------- |
|
46 |
.\" disable hyphenation |
|
47 |
.nh |
|
48 |
.\" disable justification (adjust text to left margin only) |
|
49 |
.ad l |
|
50 |
.\" ----------------------------------------------------------------- |
|
51 |
.\" * MAIN CONTENT STARTS HERE * |
|
52 |
.\" ----------------------------------------------------------------- |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
53 |
.SH "名前" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
54 |
jstack \- Javaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのスタック・トレースを出力します。このコマンドは試験的なもので、サポートされていません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
55 |
.SH "概要" |
23600 | 56 |
.sp |
57 |
.if n \{\ |
|
58 |
.RS 4 |
|
59 |
.\} |
|
60 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
61 |
\fBjstack\fR [ \fIoptions\fR ] \fIpid\fR |
23600 | 62 |
.fi |
63 |
.if n \{\ |
|
64 |
.RE |
|
65 |
.\} |
|
66 |
.sp |
|
67 |
.if n \{\ |
|
68 |
.RS 4 |
|
69 |
.\} |
|
70 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
71 |
\fBjstack\fR [ \fIoptions\fR ] \fIexecutable\fR \fIcore\fR |
23600 | 72 |
.fi |
73 |
.if n \{\ |
|
74 |
.RE |
|
75 |
.\} |
|
76 |
.sp |
|
77 |
.if n \{\ |
|
78 |
.RS 4 |
|
79 |
.\} |
|
80 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
81 |
\fBjstack\fR [ \fIoptions\fR ] [ \fIserver\-id\fR@ ] \fIremote\-hostname\-or\-IP\fR |
23600 | 82 |
.fi |
83 |
.if n \{\ |
|
84 |
.RE |
|
85 |
.\} |
|
86 |
.PP |
|
87 |
\fIoptions\fR |
|
88 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
89 |
コマンド行オプション。オプションを参照してください。 |
23600 | 90 |
.RE |
91 |
.PP |
|
92 |
\fIpid\fR |
|
93 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
94 |
出力するスタック・トレースのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。 |
23600 | 95 |
.RE |
96 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
97 |
\fI実行可能ファイル\fR |
23600 | 98 |
.RS 4 |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
99 |
コア・ダンプの作成元のJava実行可能ファイル。 |
23600 | 100 |
.RE |
101 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
102 |
\fIコア\fR |
23600 | 103 |
.RS 4 |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
104 |
出力するスタック・トレースのコア・ファイルです。 |
2692 | 105 |
.RE |
23600 | 106 |
.PP |
107 |
\fIremote\-hostname\-or\-IP\fR |
|
108 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
109 |
リモート・デバッグ・サーバーの\fBホスト名\fRまたは\fBIP\fRアドレス。jsadebugd(1)を参照してください。 |
23600 | 110 |
.RE |
111 |
.PP |
|
112 |
\fIserver\-id\fR |
|
113 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
114 |
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。 |
23600 | 115 |
.RE |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
116 |
.SH "説明" |
23600 | 117 |
.PP |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
118 |
\fBjstack\fRコマンドは、指定されたJavaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのJavaスタック・トレースを出力します。Javaフレームごとに、フルクラス名、メソッド名、バイトコード・インデックス(bci)、および行番号(利用可能な場合)が出力されます。\fB\-m\fRオプションを使用すると、\fBjstack\fRコマンドは、すべてのスレッドのJavaフレームとネイティブ・フレームの両方を、プログラム・カウンタ(PC)とともに出力します。ネイティブ・フレームごとに、PCに最も近いネイティブ・シンボル(利用可能な場合)が出力されます。C++分解名は分解解除されません。C++名を分解解除するには、このコマンドの出力を\fBc++filt\fRにパイプします。指定されたプロセスが64ビットJava仮想マシン上で実行されている場合は、\fB\-J\-d64\fRオプションを指定する必要があります(例: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
119 |
\fBjstack \-J\-d64 \-m pid\fR)。 |
23600 | 120 |
.PP |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
121 |
\fB注意\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
122 |
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。dbgeng\&.dllファイルが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。また、\fBPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。次に例を示します。 |
23600 | 123 |
.sp |
124 |
.if n \{\ |
|
125 |
.RS 4 |
|
126 |
.\} |
|
2692 | 127 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
128 |
\fBset PATH=<jdk>\ejre\ebin\eclient;%PATH%\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
129 |
|
2692 | 130 |
.fi |
23600 | 131 |
.if n \{\ |
132 |
.RE |
|
133 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
134 |
.SH "オプション" |
23600 | 135 |
.PP |
136 |
\-F |
|
137 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
138 |
\fBjstack\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
139 |
[\fB\-l\fR] |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
140 |
\fBpid\fRが応答しない場合にスタック・ダンプを強制します。 |
23600 | 141 |
.RE |
142 |
.PP |
|
143 |
\-l |
|
144 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
145 |
長形式のリスト。所有\fBjava\&.util\&.concurrent\fRの所有できるシンクロナイザの一覧など、ロックについての追加情報を印刷します。http://docs\&.oracle\&.com/javase/8/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer\&.htmlにある |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
146 |
\fBAbstractOwnableSynchronizer\fRクラス記述を参照してください |
23600 | 147 |
.RE |
148 |
.PP |
|
149 |
\-m |
|
150 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
151 |
JavaおよびネイティブC/C++フレームの両方を持つ混合モードのスタック・トレースを出力します。 |
23600 | 152 |
.RE |
153 |
.PP |
|
154 |
\-h |
|
155 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
156 |
ヘルプ・メッセージが出力されます。 |
23600 | 157 |
.RE |
158 |
.PP |
|
159 |
\-help |
|
160 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
161 |
ヘルプ・メッセージが出力されます。 |
2692 | 162 |
.RE |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
163 |
.SH "既知のBUG" |
23600 | 164 |
.PP |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
165 |
混合モードのスタック・トレースでは、\fB\-m\fRオプションはリモート・デバッグ・サーバーでは機能しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
166 |
.SH "関連項目" |
23600 | 167 |
.sp |
168 |
.RS 4 |
|
169 |
.ie n \{\ |
|
170 |
\h'-04'\(bu\h'+03'\c |
|
171 |
.\} |
|
172 |
.el \{\ |
|
173 |
.sp -1 |
|
174 |
.IP \(bu 2.3 |
|
175 |
.\} |
|
176 |
pstack(1) |
|
177 |
.RE |
|
178 |
.sp |
|
179 |
.RS 4 |
|
180 |
.ie n \{\ |
|
181 |
\h'-04'\(bu\h'+03'\c |
|
182 |
.\} |
|
183 |
.el \{\ |
|
184 |
.sp -1 |
|
185 |
.IP \(bu 2.3 |
|
186 |
.\} |
|
187 |
C++filt(1) |
|
188 |
.RE |
|
189 |
.sp |
|
190 |
.RS 4 |
|
191 |
.ie n \{\ |
|
192 |
\h'-04'\(bu\h'+03'\c |
|
193 |
.\} |
|
194 |
.el \{\ |
|
195 |
.sp -1 |
|
196 |
.IP \(bu 2.3 |
|
197 |
.\} |
|
198 |
jps(1) |
|
199 |
.RE |
|
200 |
.sp |
|
201 |
.RS 4 |
|
202 |
.ie n \{\ |
|
203 |
\h'-04'\(bu\h'+03'\c |
|
204 |
.\} |
|
205 |
.el \{\ |
|
206 |
.sp -1 |
|
207 |
.IP \(bu 2.3 |
|
208 |
.\} |
|
209 |
jsadebugd(1) |
|
210 |
.RE |
|
2692 | 211 |
.br |
23600 | 212 |
'pl 8.5i |
213 |
'bp |