首页 > 其他 > 详细

sjk 一个强大的jvm 分析工具

时间:2020-01-04 14:08:10      阅读:100      评论:0      收藏:0      [点我收藏+]

sjk 是一个用来分析jvm 的cli 工具(也支持代码引用),sjk 支持的分析方式比较多,强大,同时可以生成火焰图(以前有简单说明 
使用jfr+sjk 生成火焰图的方式)

支持的分析方式

  • ttop - show thread CPU usage for JVM
  • jps - list JVM processes
  • hh - head histogram
  • gc - GC tracker
  • mx - generic JMX invocation
  • stcap - thread dump sampler
  • ssa - thread dump file analyzer
  • flame - generate HTML based flame graph from thread sampling data
  • stcpy - copy tool for "dense" thread dump files
  • dexp - extract metrics form compressed dump into tabular format
  • mprx - expose JMX port for remote connection on target JVM process

说明

详细的命令使用可以参考github 文档

参考资料

https://github.com/aragozin/jvm-tools

sjk 一个强大的jvm 分析工具

原文:https://www.cnblogs.com/rongfengliang/p/12148721.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!