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


原网址: 访问
创建于: 2024-03-08 11:48:23
目录: default
标签: 无

请先后发表评论
  • 最新评论
  • 总共0条评论