JVM监控命令之——JSTAT

1、简介

JSTAT即JVM Statistics Monitoring Tool,JVM统计数据监控工具,可以用来查看JVM中GC、类加载等信息

  • [option] : 操作参数
  • LVMID : 本地虚拟机进程ID
  • [interval] : 连续输出的时间间隔
  • [count] : 连续输出的次数(默认一直打印)

参数解析:

OptionDisplays…
classclass loader的行为统计。Statistics on the behavior of the class loader.
compilerHotSpt JIT编译器行为统计。Statistics of the behavior of the HotSpot Just-in-Time compiler.
gc垃圾回收堆的行为统计。Statistics of the behavior of the garbage collected heap.
gccapacity各个垃圾回收代容量(young,old,perm)和他们相应的空间统计。Statistics of the capacities of the generations and their corresponding spaces.
gcutil垃圾回收统计概述。Summary of garbage collection statistics.
gccause垃圾收集统计概述(同-gcutil),附加最近两次垃圾回收事件的原因。Summary of garbage collection statistics (same as -gcutil), with the cause of the last and
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.
printcompilationHotSpot编译方法统计。HotSpot compilation method statistics.

 

2、操作

(1)

classclass loader的行为统计。Statistics on the behavior of the class loader.

(2)

compilerHotSpt JIT编译器行为统计。Statistics of the behavior of the HotSpot Just-in-Time compiler.

(3)

gc垃圾回收堆的行为统计。Statistics of the behavior of the garbage collected heap.

(4)

gccapacity各个垃圾回收代容量(young,old,perm)和他们相应的空间统计。Statistics of the capacities of the generations and their corresponding spaces.

.........

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值