src/solaris/doc/sun/man/man1/ja/jsadebugd.1

Print this page

        

*** 1,142 **** ! ." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. ! ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ! ." ! ." This code is free software; you can redistribute it and/or modify it ! ." under the terms of the GNU General Public License version 2 only, as ! ." published by the Free Software Foundation. ! ." ! ." This code is distributed in the hope that it will be useful, but WITHOUT ! ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ! ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ! ." version 2 for more details (a copy is included in the LICENSE file that ! ." accompanied this code). ! ." ! ." You should have received a copy of the GNU General Public License version ! ." 2 along with this work; if not, write to the Free Software Foundation, ! ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ! ." ! ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ! ." or visit www.oracle.com if you need additional information or have any ! ." questions. ! ." ! .TH jsadebugd 1 "07 May 2011" ! ! .LP ! .SH "名前" ! jsadebugd \- サービスアビリティーエージェントデバッグデーモン ! .LP ! .RS 3 ! .TP 2 ! o ! 形式 ! .TP 2 ! o ! パラメータ ! .TP 2 ! o ! 説明 ! .TP 2 ! o ! 関連項目 ! .RE ! ! .LP ! .SH "形式" ! .LP .nf ! \f3 ! .fl ! \fP\f3jsadebugd\fP pid [ server\-id ] ! .fl ! \f3jsadebugd\fP executable core [ server\-id ] ! .fl .fi ! ! .LP ! .SH "パラメータ" ! .LP ! .RS 3 ! .TP 3 ! pid ! デバッグサーバーが接続するプロセスのプロセス ID です。プロセスは Java プロセスである必要があります。マシン上で実行している Java プロセスの一覧を取得するには、jps(1) を使用します。単一のプロセスに接続できるデバッグサーバーのインスタンスは、1 つに制限されます。 ! .RE ! ! .LP ! .RS 3 ! .TP 3 ! executable ! .RE ! ! .LP ! .RS 3 ! .TP 3 ! コアダンプの作成元になる Java 実行可能ファイルです。 ! .RE ! ! .LP ! .RS 3 ! .TP 3 ! core ! デバッグサーバーを接続するコアファイルです。 ! .RE ! ! .LP ! .RS 3 ! .TP 3 ! server\-id ! 複数のデバッグサーバーが同一のマシン上で実行している場合に必要になる、オプション固有の ID です。この ID は、リモートクライアントが、接続先のデバッグサーバーを特定するために使用する必要があります。この ID は、単一のマシン内で一意でなければなりません。 .RE ! ! .LP ! .SH "説明" ! .LP ! .LP ! \f3jsadebugd\fP は、Java プロセスまたはコアファイルに接続し、デバッグサーバーとして機能します。jstack(1)、jmap(1)、および jinfo(1) などのリモートクライアントは、Java Remote Method Invocation (RMI) を使用しているサーバーに接続できます。 \f2jsadebugd\fP を起動する前に、次のようにして ! .na ! \f2rmiregistry\fP @ .fi ! http://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi を起動する必要があります。 ! .LP .nf ! \f3 ! .fl ! \fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3 ! .fl ! \fP .fi ! ! .LP ! .LP ! ここで、 \f2$JAVA_HOME\fP は JDK インストールディレクトリです。rmiregistry が起動していない場合、jsadebugd は標準 (1099) ポートの rmiregistry を内部で起動します。デバッグサーバーは、SIGINT を送信する (Ctrl+C を押す) ことにより停止できます。 ! .LP ! .LP ! \f3注\fP \- このユーティリティーはサポート対象外であり、将来の JDK のバージョンでは利用できなくなる可能性があります。dbgeng.dll が存在していない Windows システムでは、「Debugging Tools For Windows」をインストールしないとこれらのツールが正常に動作しません。また、 \f2PATH\fP 環境変数には、ターゲットプロセスによって使用される \f2jvm.dll\fP の場所、またはクラッシュダンプファイルが生成された場所が含まれるようにしてください。 ! .LP ! .LP ! 次に例を示します。 \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP ! .LP .SH "関連項目" ! .LP ! .RS 3 ! .TP 2 ! o jinfo(1) ! .TP 2 ! o jmap(1) ! .TP 2 ! o jps(1) ! .TP 2 ! o jstack(1) - .TP 2 - o - .na - \f2rmiregistry\fP @ - .fi - http://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi .RE ! ! .LP ! --- 1,171 ---- ! '\" t ! .\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. ! .\" Title: jsadebugd ! .\" Language: English ! .\" Date: 2013年11月21日 ! .\" SectDesc: トラブルシューティング・ツール ! .\" Software: JDK 8 ! .\" Arch: 汎用 ! .\" ! .\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ! .\" ! .\" This code is free software; you can redistribute it and/or modify it ! .\" under the terms of the GNU General Public License version 2 only, as ! .\" published by the Free Software Foundation. ! .\" ! .\" This code is distributed in the hope that it will be useful, but WITHOUT ! .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ! .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ! .\" version 2 for more details (a copy is included in the LICENSE file that ! .\" accompanied this code). ! .\" ! .\" You should have received a copy of the GNU General Public License version ! .\" 2 along with this work; if not, write to the Free Software Foundation, ! .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ! .\" ! .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ! .\" or visit www.oracle.com if you need additional information or have any ! .\" questions. ! .\" ! .pl 99999 ! .TH "jsadebugd" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール" ! .\" ----------------------------------------------------------------- ! .\" * Define some portability stuff ! .\" ----------------------------------------------------------------- ! .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ! .\" http://bugs.debian.org/507673 ! .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html ! .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ! .ie \n(.g .ds Aq \(aq ! .el .ds Aq ' ! .\" ----------------------------------------------------------------- ! .\" * set default formatting ! .\" ----------------------------------------------------------------- ! .\" disable hyphenation ! .nh ! .\" disable justification (adjust text to left margin only) ! .ad l ! .\" ----------------------------------------------------------------- ! .\" * MAIN CONTENT STARTS HERE * ! .\" ----------------------------------------------------------------- ! .SH "NAME" ! jsadebugd \- Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。このコマンドは試験的なもので、サポートされていません。 ! .SH "概要" ! .sp ! .if n \{\ ! .RS 4 ! .\} .nf ! \fIjsadebugd\fR \fIpid\fR [ \fIserver\-id\fR ] .fi ! .if n \{\ .RE ! .\} ! .sp ! .if n \{\ ! .RS 4 ! .\} ! .nf ! \fIjsadebugd\fR \fIexecutable\fR \fIcore\fR [ \fIserver\-id\fR ] .fi ! .if n \{\ ! .RE ! .\} ! .PP ! \fIpid\fR ! .RS 4 ! デバッグ・サーバーが接続するプロセスのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。単一のプロセスに接続できるデバッグ・サーバーのインスタンスは、1つに制限されます。 ! .RE ! .PP ! \fI実行可能ファイル\fR ! .RS 4 ! コア・ダンプの作成元のJava実行可能ファイル。 ! .RE ! .PP ! \fIコア\fR ! .RS 4 ! デバッグ・サーバーを接続するコア・ファイルです。 ! .RE ! .PP ! \fIserver\-id\fR ! .RS 4 ! 複数のデバッグ・サーバーが同一のマシン上で実行されている場合に必要になる、オプションの一意のIDです。このIDは、リモート・クライアントが、接続先のデバッグ・サーバーを特定するために使用する必要があります。このIDは、単一のマシン内で一意にする必要があります。 ! .RE ! .SH "説明" ! .PP ! \fIjsadebugd\fRコマンドは、Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。\fIjstack\fR、\fIjmap\fRおよび\fIjinfo\fRなどのリモート・クライアントは、Java Remote Method Invocation (RMI)を使用しているサーバーに接続できます。\fIjsadebugd\fRコマンドを起動する前に、\fIrmiregistry\fRコマンドでRMIレジストリを次のように起動します。\fI$JAVA_HOME\fRはJDKのインストール・ディレクトリです。 ! .sp ! .if n \{\ ! .RS 4 ! .\} .nf ! rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi\&.jar .fi ! .if n \{\ ! .RE ! .\} ! .PP ! RMIレジストリが起動していない場合、\fIjsadebugd\fRコマンドはRMIレジストリを標準(1099)ポートで内部で起動します。デバッグ・サーバーは、\fISIGINT\fRを送信することにより停止できます。SIGINTを送信するには、\fB[Ctrl] + [C]\fRを押します。 ! .PP ! \fB注意:\fR ! このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fIdbgeng\&.dll\fRが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fIPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。例: ! \fIs\fR\fIet PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR .SH "関連項目" ! .sp ! .RS 4 ! .ie n \{\ ! \h'-04'\(bu\h'+03'\c ! .\} ! .el \{\ ! .sp -1 ! .IP \(bu 2.3 ! .\} jinfo(1) ! .RE ! .sp ! .RS 4 ! .ie n \{\ ! \h'-04'\(bu\h'+03'\c ! .\} ! .el \{\ ! .sp -1 ! .IP \(bu 2.3 ! .\} jmap(1) ! .RE ! .sp ! .RS 4 ! .ie n \{\ ! \h'-04'\(bu\h'+03'\c ! .\} ! .el \{\ ! .sp -1 ! .IP \(bu 2.3 ! .\} jps(1) ! .RE ! .sp ! .RS 4 ! .ie n \{\ ! \h'-04'\(bu\h'+03'\c ! .\} ! .el \{\ ! .sp -1 ! .IP \(bu 2.3 ! .\} jstack(1) .RE ! .sp ! .RS 4 ! .ie n \{\ ! \h'-04'\(bu\h'+03'\c ! .\} ! .el \{\ ! .sp -1 ! .IP \(bu 2.3 ! .\} ! rmiregistry(1) ! .RE ! .br ! 'pl 8.5i ! 'bp