JVM监控工具--jstat(虚拟机状态监控)

参考:http://docs.oracle.com/javase/6/docs/technotes/tools/share/jstat.html

class Statistics on the behavior of the class loader.
compiler Statistics of the behavior of the HotSpot Just-in-Time compiler.
gc Statistics of the behavior of the garbage collected heap.
gccapacity Statistics of the capacities of the generations and their corresponding spaces.
gccause Summary of garbage collection statistics (same as -gcutil), with the cause of the last and current (if applicable) garbage collection events.
gcnew Statistics of the behavior of the new generation.
gcnewcapacity Statistics of the sizes of the new generations and its corresponding spaces.
gcold Statistics of the behavior of the old and permanent generations.
gcoldcapacity Statistics of the sizes of the old generation.
gcpermcapacity Statistics of the sizes of the permanent generation.
gcutil Summary of garbage collection statistics.
printcompilation HotSpot compilation method statistics.


C:\Documents and Settings>jstat -gcutil -h2 2112 250 4
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000

C:\Documents and Settings>jstat -gcutil -t 2112 250 4
Timestamp S0 S1 E O P YGC YGCT FGC FGCT GCT
1239.2 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
1239.5 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
1239.7 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
1240.0 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
C:\Documents and Settings>jstat -gcutil 2112 250 4
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值