线上追踪利器arthas
文章内索引
[显示]
官方地址
https://alibaba.github.io/arthas/
命令列表
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
dashboard thread jvm sysprop sysenv vmoption perfcounter logger mbean getstatic ognl sc sm dump heapdump jad classloader mc redefine monitor watch trace stack tt profiler cat echo grep tee pwd options Arthas 基础命令 help——查看命令帮助信息 cls——清空当前屏幕区域 session——查看当前会话的信息 reset——重置增强类,将被 Arthas 增强过的类全部还原,Arthas 服务端关闭时会重置所有增强过的类 version——输出当前目标 Java 进程所加载的 Arthas 版本号 history——打印命令历史 quit——退出当前 Arthas 客户端,其他 Arthas 客户端不受影响 stop——关闭 Arthas 服务端,所有 Arthas 客户端全部退出 keymap——Arthas快捷键列表及自定义快捷键 |
线程相关
1 2 3 4 |
thread 显示全部线程 thread -n 10 显示TOP10使用率的线程 thread -b 显示block的线程 thread 12 显示12号线程的栈信息 |
内存相关
©版权声明:本文为【翰林小院】(huhanlin.com)原创文章,转载时请注明出处!
发表评论