1 ." Copyright (c) 2004, 2011, 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 .TH jsadebugd 1 "07 May 2011"
  23 
  24 .LP
  25 .SH "名前"
  26 jsadebugd \- サービスアビリティーエージェントデバッグデーモン
  27 .LP
  28 .RS 3
  29 .TP 2
  30 o
  31 形式 
  32 .TP 2
  33 o
  34 パラメータ 
  35 .TP 2
  36 o
  37 説明 
  38 .TP 2
  39 o
  40 関連項目 
  41 .RE
  42 
  43 .LP
  44 .SH "形式"
  45 .LP
  46 .nf
  47 \f3
  48 .fl
  49 \fP\f3jsadebugd\fP pid [ server\-id ]
  50 .fl
  51 \f3jsadebugd\fP executable core [ server\-id ]
  52 .fl
  53 .fi
  54 
  55 .LP
  56 .SH "パラメータ"
  57 .LP
  58 .RS 3
  59 .TP 3
  60 pid 
  61 デバッグサーバーが接続するプロセスのプロセス ID です。プロセスは Java プロセスである必要があります。マシン上で実行している Java プロセスの一覧を取得するには、jps(1) を使用します。単一のプロセスに接続できるデバッグサーバーのインスタンスは、1 つに制限されます。 
  62 .RE
  63 
  64 .LP
  65 .RS 3
  66 .TP 3
  67 executable 
  68 .RE
  69 
  70 .LP
  71 .RS 3
  72 .TP 3
  73 コアダンプの作成元になる Java 実行可能ファイルです。 
  74 .RE
  75 
  76 .LP
  77 .RS 3
  78 .TP 3
  79 core 
  80 デバッグサーバーを接続するコアファイルです。 
  81 .RE
  82 
  83 .LP
  84 .RS 3
  85 .TP 3
  86 server\-id 
  87 複数のデバッグサーバーが同一のマシン上で実行している場合に必要になる、オプション固有の ID です。この ID は、リモートクライアントが、接続先のデバッグサーバーを特定するために使用する必要があります。この ID は、単一のマシン内で一意でなければなりません。 
  88 .RE
  89 
  90 .LP
  91 .SH "説明"
  92 .LP
  93 .LP
  94 \f3jsadebugd\fP は、Java プロセスまたはコアファイルに接続し、デバッグサーバーとして機能します。jstack(1)、jmap(1)、および jinfo(1) などのリモートクライアントは、Java Remote Method Invocation (RMI) を使用しているサーバーに接続できます。 \f2jsadebugd\fP を起動する前に、次のようにして 
  95 .na
  96 \f2rmiregistry\fP @
  97 .fi
  98 http://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi を起動する必要があります。
  99 .LP
 100 .nf
 101 \f3
 102 .fl
 103 \fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3
 104 .fl
 105 \fP
 106 .fi
 107 
 108 .LP
 109 .LP
 110 ここで、 \f2$JAVA_HOME\fP は JDK インストールディレクトリです。rmiregistry が起動していない場合、jsadebugd は標準 (1099) ポートの rmiregistry を内部で起動します。デバッグサーバーは、SIGINT を送信する (Ctrl+C を押す) ことにより停止できます。
 111 .LP
 112 .LP
 113 \f3注\fP \- このユーティリティーはサポート対象外であり、将来の JDK のバージョンでは利用できなくなる可能性があります。dbgeng.dll が存在していない Windows システムでは、「Debugging Tools For Windows」をインストールしないとこれらのツールが正常に動作しません。また、 \f2PATH\fP 環境変数には、ターゲットプロセスによって使用される \f2jvm.dll\fP の場所、またはクラッシュダンプファイルが生成された場所が含まれるようにしてください。
 114 .LP
 115 .LP
 116 次に例を示します。 \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
 117 .LP
 118 .SH "関連項目"
 119 .LP
 120 .RS 3
 121 .TP 2
 122 o
 123 jinfo(1) 
 124 .TP 2
 125 o
 126 jmap(1) 
 127 .TP 2
 128 o
 129 jps(1) 
 130 .TP 2
 131 o
 132 jstack(1) 
 133 .TP 2
 134 o
 135 .na
 136 \f2rmiregistry\fP @
 137 .fi
 138 http://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi 
 139 .RE
 140 
 141 .LP
 142