jdk/src/linux/doc/man/ja/jstatd.1
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
Initial load
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 jstatd 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.SH 名前
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
jstatd \- 仮想マシン jstat デーモン
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 jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.BI [ options ]  
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.SH パラメータ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.BI options
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
コマンド行オプション。オプションは任意の順序で指定できます。冗長または矛盾するオプションがあった場合は、最後に指定されたオプションが優先されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
.SH 機能説明
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
ツールは、計測機構付き HotSpot Java 仮想マシン (JVM) の作成と終了を監視する RMI サーバーアプリケーションであり、リモート監視ツールがローカルホスト上で実行している JVM にアタッチするためのインタフェースを備えています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
jstatd サーバーが機能するためには、ローカルホスト上に RMI レジストリが存在する必要があります。jstatd サーバーは、デフォルトポートまたは 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.BI \-p " port" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
オプションによって示されたポート上の RMI レジストリへのアタッチを試みます。RMI レジストリが見つからなかった場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.BI \-p " port" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
オプションによって示されたポートにバインドされた jstatd アプリケーション内で作成され、 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
.BI \-p " port" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
が省かれた場合はデフォルトの RMI レジストリにバインドされた jstatd アプリケーション内で作成されます。内部 RMI レジストリの作成は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
.B \-nr 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
オプションを指定することによって禁止できます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
注 - このユーティリティはサポートされていないため、JDK の将来のバージョンでは使用できない可能性があります。現時点では、Windows 98 および Windows ME プラットフォームでは使用できません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
.SH オプション
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
コマンドは、以下のオプションをサポートします。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.BI \-nr
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
既存の RMI レジストリが見つからないときに、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
プロセス内での内部 RMI レジストリの作成を試みません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
.BI \-p " port" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
RMI レジストリを探すポート番号。または、RMI レジストリが見つからず、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
.B \-nr 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
が指定されなかった場合に、RMI レジストリが作成されるポート番号。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.BI \-n " rminame"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
RMI レジストリでリモート RMI オブジェクトがバインドされる名前。デフォルトの名前は、JStatRemoteHost です。同じホスト上で複数の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
サーバーが起動している場合、各サーバーのエクスポート RMI オブジェクトの名前を一意にするには、このオプションを指定します。ただし、そのためには、監視クライアントの hostid および vmid 文字列に一意のサーバー名が含まれている必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.BI \-J option
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
.I option 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
.B javac 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
によって呼び出された java 起動ツールに渡します。たとえば、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.B \-J-Xms48m 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
は、起動メモリを 48M バイトに設定します。Java で作成された下層の VM 実行アプリケーションにオプションを渡すのが、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
.B \-J 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
の一般的規則です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
.SH セキュリティ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
.B jstatd
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
サーバーは、適切なネイティブアクセス権を持っている JVM だけを監視できます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
このため、jstatd プロセスは、ターゲット JVM と同じユーザー資格で実行している必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
UNIX(TM) ベースのシステムの root ユーザーなど、一部のユーザー資格には、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
そのシステム上の任意の JVM によってエクスポートされた計測機構への
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
アクセス権が割り当てられています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
このような資格で実行中の jstatd プロセスは、そのシステム上の任意の JVM を監視できますが、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
これに伴うセキュリティ上の問題も考慮する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
jstatd サーバーは、リモートクライアントの認証は行いません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
つまり、jstatd サーバープロセスを実行すると、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
jstatd プロセスがアクセス権を持つすべての JVM から
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
エクスポートされる計測機構が、ネットワーク上の任意のユーザーに公開されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
計測機構が公開されると、環境によっては望ましくない場合があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
特に運用環境や安全性の低いネットワークでは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
jstatd プロセスを開始する前に
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
ローカルセキュリティポリシーを検討する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
サーバーは、他にセキュリティマネージャがインストールされていない場合は、RMISecurityPolicy のインスタンスをインストールするので、セキュリティポリシーファイルを指定する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
ポリシーファイルは、デフォルトのポリシー実装のポリシーファイル構文
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
 (http://java.sun.com/javase/6/docs/technotes/guides/security/PolicyFiles.html) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
に従う必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
次のポリシーファイルでは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
サーバーはセキュリティ例外を起こさずに実行できます。このポリシーは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
すべてのコードベースへのすべてのアクセス権を許可するよりは自由度が低いですが、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
サーバーの実行に必要な最小限度のアクセス権を許可するポリシーよりは自由度が高いです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
grant codebase "file:${java.home}/../lib/tools.jar" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
	 permission java.security.AllPermission;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
このポリシーを使用するには、テキストを jstatd.all.policy という名前のファイルにコピーしたあと、次のようにして 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
サーバーを実行します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
jstatd -J-Djava.security.policy=jstatd.all.policy
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
より厳格なセキュリティを採用しているサイトでは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
カスタムポリシーファイルを使用して、特定の信頼できるホストまたはネットワークに
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
アクセスを制限できます。ただし、この方法を使用しても、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
IP アドレスのスプーフィング攻撃にさらされます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
カスタムポリシーファイルを使用することでセキュリティの問題に対応できない場合には、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
jstatd サーバーを実行せずに、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
jstat および jps ツールをローカルで使用するのが最も安全です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
.SH リモートインタフェース
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
プロセスによってエクスポートされるインタフェースはプロプライエタリであり、変更が保証されています。ユーザーおよび開発者は、このインタフェースに書き込まないようにしてください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
.SH 使用例
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
の起動例をいくつか示します。これらの 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
スクリプトは、バックグラウンドで自動的にサーバーを起動します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
.SS 内部 RMI レジストリの使用
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
この例は、内部 RMI レジストリを使用した 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
の起動を示しています。この例では、他のサーバーがデフォルトの RMI レジストリポート (ポート 1099) にバインドされていないことを前提としています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
jstatd -J-Djava.security.policy=all.policy
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
.SS 外部 RMI レジストリの使用
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
この例は、外部 RMI レジストリを使用した 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
の起動を示しています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
rmiregistry&
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
jstatd -J-Djava.security.policy=all.policy
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
この例は、ポート 2020 上の外部 RMI レジストリサーバーを使用した 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
の起動を示しています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
rmiregistry 2020&
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
jstatd -J-Djava.security.policy=all.policy -p 2020
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
この例は、ポート 2020 上の、AlternateJstatdServerName という名前にバインドされた外部 RMI レジストリを使用した 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
の起動を示しています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
rmiregistry 2020&
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
jstatd -J-Djava.security.policy=all.policy -p 2020 -n AlternateJstatdServerName
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
.SS プロセス内 RMI レジストリの作成の禁止
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
この例は、RMI レジストリが見つからない場合も RMI レジストリを作成しないように 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
を起動する例を示しています。この例では、RMI がすでに実行していることを前提としています。実行していなかった場合は、適切なエラーメッセージが表示されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
jstatd -J-Djava.security.policy=all.policy -nr
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
.SS RMI ロギング機能の有効化
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
この例は、RMI ロギング機能を有効にして 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
.B jstatd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
を起動する例を示しています。この方法は、障害追跡やサーバー活動の監視に役立ちます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
jstatd -J-Djava.security.policy=all.policy -J-Djava.rmi.server.logCalls=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
.SH 関連項目
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
java \- Java アプリケーション起動プログラム
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
jps \- Java 仮想マシンプロセスステータスツール
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
jstat \- Java 仮想マシン統計監視ツール
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
rmiregistry \- Java リモートオブジェクトレジストリ
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251