jdk/src/solaris/doc/sun/man/man1/ja/jmap.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
.\" Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" ` 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.TH jmap 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.SH 名前
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
jmap \- メモリマップ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
.SH 形式
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.B jmap 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.BI [ option ] " pid" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.B jmap
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.BI [ option ] " executable core" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.B jmap
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.BI [ option ] " [server-id@]remote-hostname-or-IP"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.SH パラメータ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
.BI option
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
オプションは相互に排他的です。オプションを使用する場合は、コマンド名の直後に指定する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
.I pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
メモリマップを表示するプロセス ID。プロセスは Java プロセスでなければなりません。マシン上で実行している Java プロセスのリストを取得するには、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
.B jps 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
を使用します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.I executable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
コアダンプが生成された Java 実行可能ファイル。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
.I core
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
.I remote-hostname-or-IP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
リモートデバッグサーバ (
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
.B jsadebugd
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
を参照) のホスト名または IP アドレス。
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
.I server-id
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
同じリモートホスト上で複数のデバッグサーバが実行している場合、オプションの一意 ID。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
.SH 機能説明
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
.B jmap
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
は、指定されたプロセスまたはコアファイルまたはリモートデバッグサーバの、共有オブジェクトメモリマップまたはヒープメモリの詳細を表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
指定されたプロセスが 64 ビット VM 上で実行されている場合、\f2\-J\-d64\fP オプションを指定しなければならない場合があります。次に例を示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
jmap \-J\-d64 \-heap pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
注 - このユーティリティはサポートされていないため、JDK の将来のバージョンでは使用できない可能性があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
Windows プラットフォーム上で使用可能な唯一の jmap 形式は、次のとおりです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
jmap \-dump:<\f2dump\-options\fP> pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
および 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
jmap \-histo[:live] pid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
.SH オプション
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.BI " <no option>"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
オプションが使用されなかった場合、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.B jmap 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
は共有オブジェクトマッピングを表示します。ターゲット VM に読み込まれた各共有オブジェクトについて、開始アドレス、マッピングのサイズ、および共有オブジェクトファイルのフルパスが表示されます。これは、Solaris の
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
.B pmap 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
ユーティリティと同様です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
\-dump:[live,]format=b,file=<filename> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
Java ヒープを hprof バイナリ形式で filename にダンプします。\f2live\fP サブオプションは省略可能です。これが指定された場合、ヒープ内で生存中のオブジェクトのみがダンプされます。ヒープダンプを参照するには、生成されたファイルを jhat (Java Heap Analysis Tool) を使って読み取ります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
\-finalizerinfo 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
ファイナライズを待っているオブジェクトに関する情報を出力します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
.B \-heap
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
ヒープのサマリを表示します。使用された GC アルゴリズム、ヒープ構成、および生成規模のヒープ使用率が表示されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
.B \-histo[:live] 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
ヒープのヒストグラムを表示します。各 Java クラスについて、オブジェクト数、メモリサイズ(バイト数)、および完全修飾クラス名が表示されます。VM 内部クラス名の前には '*' が表示されます。\f2live\fP サブオプションが指定された場合、生存中のオブジェクトのみがカウントされます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.B \-permstat
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
Java ヒープの永続的生成のクラスローダ規模の統計を表示します。各クラスローダについて、名前、活動性、アドレス、親クラスローダ、および読み込まれたクラスのサイズが表示されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
さらに、intern された文字列の数とサイズも出力されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
\-F 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
強制 (Force)。pid が応答しない場合に、jmap \-dump または jmap \-histo オプションとともに使用します。このモードでは、\f2live\fP サブオプションはサポートされません。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.B \-h
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
ヘルプメッセージを表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.if t .TP 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
.if n .TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
.B \-help
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
ヘルプメッセージを表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
\-J<flag> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
jmap が実行されている Java 仮想マシンに <flag> を渡します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
.SH 関連項目
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
pmap (1) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
jhat 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
jps 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
jsadebugd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164