标签:admin keyword sub 3.0 str cme 内存 span bst
jstat命令可以查看堆内存各部分的使用量,以及加载类的数量。命令的格式如下:
jstat [-命令选项] [vmid] [间隔时间/毫秒] [查询次数]
注意:使用的jdk版本是jdk8.
C:\Users\Administrator>jstat -class 2060
Loaded Bytes Unloaded Bytes Time
15756 17355.6 0 0.0 11.29
C:\Users\Administrator>jstat -compiler 2060
Compiled Failed Invalid Time FailedType FailedMethod
9142 1 0 5.01 1 org/apache/felix/resolver/ResolverImpl mergeCandidatePackages
C:\Users\Administrator>jstat -gc 2060
S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
20480.0 20480.0 0.0 13115.3 163840.0 113334.2 614400.0 436045.7 63872.0 61266.5 0.0 0.0 149 3.440 8 0.295 3.735
C:\Users\Administrator>jstat -gccapacity 2060
NGCMN NGCMX NGC S0C S1C EC OGCMN OGCMX OGC OC MCMN MCMX MC CCSMN CCSMX CCSC YGC FGC
204800.0 204800.0 204800.0 20480.0 20480.0 163840.0 614400.0 614400.0 614400.0 614400.0 0.0 63872.0 63872.0 0.0 0.0 0.0 149 8
C:\Users\Administrator>jstat -gcnew 7172
S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
40960.0 40960.0 25443.1 0.0 15 15 20480.0 327680.0 222697.8 12 0.736
C:\Users\Administrator>jstat -gcnewcapacity 7172
NGCMN NGCMX NGC S0CMX S0C S1CMX S1C ECMX EC YGC FGC
409600.0 409600.0 409600.0 40960.0 40960.0 40960.0 40960.0 327680.0 327680.0 12 0
C:\Users\Administrator>jstat -gcold 7172
MC MU CCSC CCSU OC OU YGC FGC FGCT GCT
33152.0 31720.8 0.0 0.0 638976.0 184173.0 12 0 0.000 0.736
C:\Users\Administrator>jstat -gcoldcapacity 7172
OGCMN OGCMX OGC OC YGC FGC FGCT GCT
638976.0 638976.0 638976.0 638976.0 12 0 0.000 0.736
C:\Users\Administrator>jstat -gcmetacapacity 7172
MCMN MCMX MC CCSMN CCSMX CCSC YGC FGC FGCT GCT
0.0 33152.0 33152.0 0.0 0.0 0.0 12 0 0.000 0.736
C:\Users\Administrator>jstat -gcutil 7172
S0 S1 E O M CCS YGC YGCT FGC FGCT GCT
62.12 0.00 81.36 28.82 95.68 - 12 0.736 0 0.000 0.736
C:\Users\Administrator>jstat -printcompilation 7172
Compiled Size Type Method
4608 16 1 org/eclipse/emf/common/util/SegmentSequence$SegmentSequencePool$SegmentsAccessUnit reset
标签:admin keyword sub 3.0 str cme 内存 span bst
原文地址:http://www.cnblogs.com/shoutn/p/7800156.html