jstat.1 revision 12442:aa8e52dfeee9
t
Copyright (c) 2004, 2014, 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.

Title: jstat
Language: Japanese
Date: 2015��3��3��
SectDesc: ��������������������
Software: JDK 8
Arch: ����
Part Number: E58103-01
Doc ID: JSSON

"jstat" "1" "2015��3��3��" "JDK 8" "��������������������"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"����"
jstat - Java Virtual Machine (JVM)������������������������������������������������������������������������������
"����"

.\}

jstat [ generalOption | outputOptions vmid [ interval[s|ms] [ count ] ]
.\}

generalOption

����������������������������������������������(-help������-options)����������������������������������������

outputOptions

������statOption��-t��-h������-J����������������������������������1����������������������������������������������������������

vmid

����������JVM����������������������������������������������������������������������

.\}

[protocol:][//]lvmid[@hostname[:port]/servername]
 
.\} vmid����������������URI������������������������vmid������������������JVM����������������������������������������������������������������������������������������������������������������������������������������������������

interval [s|ms]

��(s)������������(ms)����������������������������������������������������������������������������������������������������������������������jstat������������������������������������

count

��������������������������������������������������������JVM����������������������jstat������������������������jstat��������������������������������������������������������������������������

"����"

jstat��������������������������Java HotSpot VM��������������������������������������������������JVM��������������������������vmid��������������������������������

"����������������"

vmid����������������URI������������������������

.\}

[protocol:][//]lvmid[@hostname[:port]/servername]
 
.\}

protocol

��������������������protocol������������������������������������������������������������������������������������������������������������������������������������������protocol����������������������������������������������������������������������rmi������������

lvmid

����������JVM��������������������������������lvmid����������������JVM����������������������������������������������lvmid������������������������������������������lvmid������������������������JVM����������������������������������������������������������������������������������������������������jps��������������������lvmid����������������������Solaris��Linux������OS X��������������������ps��������������������Windows����Windows������������������������������lvmid����������������

hostname

��������������������������������������IP��������������hostname��������������������������������������������������������������������������

port

����������������������������������������������������������hostname��������������������������������������������������������protocol������������������������port����������������������������������port��������������������������������������������������������rmi��������������������������������������������������rmiregistry������������������������port��������������protocol����rmi����������������������������������rmiregistry������(1099)����������������

servername

servername������������������������������������������������������������������������������������������������������������������rmi����������������������������������������������RMI����������������������������������������

"����������"

jstat������������������������������������������������2������������������������������������������������������������������������������jstat������������������������������������������������������������������������������������������������������������������������

��������������������������������������������������������������������������������������

"������������������"

������������������������������������������������������������������������������������������������

-help

��������������������������������

-options

Static������������������������������������������������������������������

"��������������"

��������������������������������������������������������������������������������������jstat������������������������������������������statOption��������������������������(-h��-t������-J)����������������statOption��������������������������������

����������������������������������������������������������������������������������������������������������������������������������������������-h����������������������������������������������������������������������������������������������2������������������������������������������������2����������������������������������

-t������������������������Timestamp����������������������������������������������������������������������������Timestamp������������������JVM������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

interval������count����������������������jstat������������������������������������������������������������

����: ������������������������������������������������������jstat��������������������������������������������������������jstat��������������������������������������������������������������������������������������������������������������������������������������������

-statOption

jstat����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������-options��������������Stat���������������������������������������� class: ������������������������������������������������������ compiler: Java HotSpot VM Just-in-Time������������������������������������������������ gc: �������������������������������������������������������������������� gccapacity: ������������������������������������������������������������ gccause: ������������������������������������������(-gcutil������)������������������(��������������)������������������������������������������������������ gcnew: New������������������������������������������ gcnewcapacity: New���������������������������������������������������������� gcold: Old�������������������������������������������������������� gcoldcapacity: Old�������������������������������������������� gcmetacapacity: ���������������������������������������������������� gcutil: ���������������������������������������������������������������� printcompilation: Java HotSpot VM����������������������������������������������

-h n

n��������(������)��������������������������������������n��������������������������������0����������������������������������������������������������������

-t

������������������������������������������������������������������������������JVM����������������������������

-JjavaOption

javaOption��Java������������������������������������������������-J-Xms48m����������������������������������������48MB����������������������������������������������������java(1)��������������������

"Stat��������������������"

������������jstat������������statOption��������������������������������������

-class option

������������������������������ Loaded: ������������������������ Bytes: ������������KB������ Unloaded: ���������������������������� Bytes: ����������������KB������ Time: ��������������������������������������������

-compiler option

Java HotSpot VM Just-in-Time������������������������ Compiled: ���������������������������������� Failed: �������������������������������� Invalid: ������������������������������������ Time: �������������������������������������� FailedType: ���������������������������������������������� FailedMethod: ����������������������������������������������

-gc option

�������������������������������������������� S0C: Survivor����0������������(KB)�� S1C: Survivor����1������������(KB)�� S0U: Survivor����0��������(KB)�� S1U: Survivor����1��������(KB)�� EC: Eden����������������(KB)�� EU: Eden������������(KB)�� OC: Old����������������(KB)�� OU: Old������������(KB)�� MC: ������������������(KB)�� MU: ��������������������(KB)�� CCSC: ��������������������������(KB)�� CCSU: ����������������������������������(KB)�� YGC: ������������������������������������������������ YGCT: �������������������������������������� FGC: ����GC������������ FGCT: �������������������������������� GCT: ������������������������������

-gccapacity option

������������������������������������ NGCMN: New��������������(KB)�� NGCMX: New��������������(KB)�� NGC: New����������������(KB)�� S0C: Survivor����0������������(KB)�� S1C: Survivor����1������������(KB)�� EC: Eden����������������(KB)�� OGCMN: Old��������������(KB)�� OGCMX: Old��������������(KB)�� OGC: Old����������������(KB)�� OC: Old����������������(KB)�� MCMN: ����������������������(KB)�� MCMX: ����������������������(KB)�� MC: ������������������(KB)�� CCSMN: ������������������������������(KB)�� CCSMX: ������������������������������(KB)�� CCSC: ��������������������������(KB)�� YGC: ����������GC������������ FGC: ����GC������������

-gccause option

������������������-gcutil������������������������������������������������������������������������������������������������������������������(����������������)����������������������������������������������������������-gcutil������������������������������������������������������������������ LGCC: ���������������������������������� GCC: ����������������������������������

-gcnew option

New������������������ S0C: Survivor����0������������(KB)�� S1C: Survivor����1������������(KB)�� S0U: Survivor����0��������(KB)�� S1U: Survivor����1��������(KB)�� TT: ������������������ MTT: ���������������������� DSS: ������Survivor������(KB)�� EC: Eden����������������(KB)�� EU: Eden������������(KB)�� YGC: ����������GC������������ YGCT: ��������������������������������������

-gcnewcapacity option

New���������������������������� NGCMN: New��������������(KB)�� NGCMX: New��������������(KB)�� NGC: New����������������(KB)�� S0CMX: Survivor����0����������(KB)�� S0C: Survivor����0������������(KB)�� S1CMX: Survivor����1����������(KB)�� S1C: Survivor����1������������(KB)�� ECMX: Eden��������������(KB)�� EC: Eden����������������(KB)�� YGC: ����������GC������������ FGC: ����GC������������

-gcold option

Old������Permanent������������������ MC: ������������������(KB)�� MU: ��������������������(KB)�� CCSC: ��������������������������(KB)�� CCSU: ����������������������������������(KB)�� OC: Old����������������(KB)�� OU: Old������������(KB)�� YGC: ����������GC������������ FGC: ����GC������������ FGCT: �������������������������������� GCT: ������������������������������

-gcoldcapacity option

Old������������������ OGCMN: Old��������������(KB)�� OGCMX: Old��������������(KB)�� OGC: Old����������������(KB)�� OC: Old����������������(KB)�� YGC: ����������GC������������ FGC: ����GC������������ FGCT: �������������������������������� GCT: ������������������������������

-gcmetacapacity option

Permanent������������������ MCMN: ����������������������(KB)�� MCMX: ����������������������(KB)�� MC: ������������������(KB)�� CCSMN: ������������������������������(KB)�� CCSMX: ������������������������������(KB)�� YGC: ����������GC������������ FGC: ����GC������������ FGCT: �������������������������������� GCT: ������������������������������

-gcutil option

������������������������������������������ S0: Survivor����0��������(��������������������������������)�� S1: Survivor����1��������(��������������������������������)�� E: Eden������������(��������������������������������)�� O: Old������������(��������������������������������)�� M: ��������������������(��������������������������������������)�� CCS: ����������������������������(��������������)�� YGC: ����������GC������������ YGCT: �������������������������������������� FGC: ����GC������������ FGCT: �������������������������������� GCT: ������������������������������

-printcompilation option

Java HotSpot VM���������������������������������� Compiled: ���������������������������������������������������������������� Size: �������������������������������������������������������� Type: �������������������������������������������������� Method: ������������������������������������������������������������������������������������������������������������(.)��������������������(/)������������������������������������������������������������������������2������������������������HotSpot -XX:+PrintCompilation����������������������������

"��"

������������21891��lvmid��������������JVM��������������������������������

"gcutil����������"

������������lvmid 21891������������250������������7����������������������-gcutil��������������������������������������������

����������������������������������������3������4��������������������������������������������������������������0.078������������������������������Eden����(E)����Old����(O)����������������Old��������������66.80%����68.19%������������������Survivor������������������������97.02%����������������������������������������������91.03%������

.\}

jstat -gcutil 21891 250 7
 S0 S1 E O M CCS YGC YGCT FGC FGCT GCT 
 0.00 97.02 70.31 66.80 95.52 89.14 7 0.300 0 0.000 0.300
 0.00 97.02 86.23 66.80 95.52 89.14 7 0.300 0 0.000 0.300
 0.00 97.02 96.53 66.80 95.52 89.14 7 0.300 0 0.000 0.300
 91.03 0.00 1.98 68.19 95.89 91.24 8 0.378 0 0.000 0.378
 91.03 0.00 15.82 68.19 95.89 91.24 8 0.378 0 0.000 0.378
 91.03 0.00 17.80 68.19 95.89 91.24 8 0.378 0 0.000 0.378
 91.03 0.00 17.80 68.19 95.89 91.24 8 0.378 0 0.000 0.378
.\}
"������������������������"

������������lvmid 21891������������250������������������������������-gcnew����������������������������������������������������-h3������������������������������3������������������������������������������

��������������������������������������������������������2������3������������������Young GC������������������������������������������0.001��������������������������������Survivor����0��������(S0U)��������Survivor������(DSS)����������������������������������������������������������������������������������Old����(������������������)����������������������������(TT)����31����2������������������

��������������������5������6��������������������������������������������������������Survivor��������������������������������������31��������������

.\}

jstat -gcnew -h3 21891 250
 S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
 64.0 64.0 0.0 31.7 31 31 32.0 512.0 178.6 249 0.203
 64.0 64.0 0.0 31.7 31 31 32.0 512.0 355.5 249 0.203
 64.0 64.0 35.4 0.0 2 31 32.0 512.0 21.9 250 0.204
 S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
 64.0 64.0 35.4 0.0 2 31 32.0 512.0 245.9 250 0.204
 64.0 64.0 35.4 0.0 2 31 32.0 512.0 421.1 250 0.204
 64.0 64.0 0.0 19.0 31 31 32.0 512.0 84.4 251 0.204
 S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
 64.0 64.0 0.0 19.0 31 31 32.0 512.0 306.7 251 0.204
 
.\}
"����������������������������������"

������������lvmid21891����������250������������3������������������������������-t������������������������������������������������������������������������������

Timestamp������������������JVM����������������������������������������������������������������-gcoldcapacity��������������������������������������������������������������������������������������������������Old����������(OGC)��Old����������(OC)����������������������������������81����������������������������������(FGC)������Old����������(OGC)��11,696KB����13,820KB������������������������(����������)��������������60,544KB (OGCMX)��������������������������������������������

.\}

Timestamp OGCMN OGCMX OGC OC YGC FGC FGCT GCT
 150.1 1408.0 60544.0 11696.0 11696.0 194 80 2.874 3.799
 150.4 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863
 150.7 1408.0 60544.0 13820.0 13820.0 194 81 2.938 3.863
 
.\}
"��������JVM��������������������������������������"

����������-gcutil����������������������remote.domain������������������lvmid 40496����������������������������������������������������

lvmid����������������������������������������40496@remote.domain��vmid����������������������������������vmid����rmi������������������������������������������������������jstatd����������������������jstatd������������rmiregistry��������������������rmiregistry����������������������������(������1099)����������������remote.domain����������������

.\}

jstat -gcutil 40496@remote.domain 1000
... output omitted
 
.\}
"��������"

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} java(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jps(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jstatd(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} rmiregistry(1)

'pl 8.5i 'bp