sjk 一个强大的jvm 分析工具

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

posted on 2020-01-04 12:58  荣锋亮  阅读(918)  评论(0编辑  收藏  举报

导航