jdk/src/linux/doc/man/ja/jsadebugd.1
author jjg
Tue, 11 Mar 2008 13:14:55 -0700
changeset 168 25697c18650b
parent 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
6307187: clean up code for -Xlint:options Summary: introduce common code for handling one-of and any-of options Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" Copyright 2004-2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
.TH jsadebugd 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.SH 名前
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
jsadebugd \- サービスエージェントデバッグデーモン
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.SH 形式
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
.B jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.I pid [ server-id ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.B jsadebugd
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.I executable core [ server-id ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.SH パラメータ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.I pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
デバッグサーバがアタッチするプロセスのプロセス ID。プロセスは Java プロセスでなければなりません。マシン上で実行している Java プロセスのリストを取得するには、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
.B jps 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
を使用します。1 つのプロセスにアタッチできるのは、1 つのデバッグサーバだけです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.I executable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
コアダンプが生成された Java 実行可能ファイル。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
.I core
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
デバッグサーバがアタッチするコアファイル。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
.I server-id
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
同じマシン上で複数のデバッグサーバを起動する場合に必要な、オプションの一意 ID。リモートクライアントがアタッチする特定のデバッグサーバを識別するには、この ID を使用する必要があります。1 つのマシン内で、この ID は一意でなければなりません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
.SH 機能説明
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.B jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
は、Java プロセスまたはコアファイルにアタッチして、デバッグサーバとして機能します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.B jstack
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
.B jmap
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
.B jinfo 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
などのリモートクライアントは、Java Remote Method Invocation (RMI) を使用してサーバにアタッチできます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
.B jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
を起動する前に、次のように指定して 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
.B rmiregistry 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
を起動する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
rmiregistry -J-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
$JAVA_HOME は、JDK のインストールディレクトリです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
.B rmiregistry 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
が起動していなかった場合、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
.B jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
は標準 (1099) ポートで内部的に 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
.B rmiregistry 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
を起動します。デバッグサーバを停止するには、SIGINT を送信します (Ctrl-C を押す) 。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
注 - このユーティリティはサポートされていないため、JDK の将来のバージョンでは使用できない可能性があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
.B jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
は、現時点では、Windows プラットフォームでは使用できません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
.SH 関連項目
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
jinfo 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
jmap 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
jps 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
jstack 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
rmiregistry 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110