Arthas 是Alibaba开源的Java诊断工具,github地址
Thread命令
使用线程ID查看线程状态1
thread 100
查看排名TOP5的线程1
thread -n 5
thread命令支持管道1
thread -n 100 | grep 'main'
SC命令
使用匹配模式查找已经加载的类1
sc -d *TranslateListener
1 | ``` |
1 | ``` |
可达鸭眉头一紧,发现编程并不简单
Arthas 是Alibaba开源的Java诊断工具,github地址
使用线程ID查看线程状态1
thread 100
查看排名TOP5的线程1
thread -n 5
thread命令支持管道1
thread -n 100 | grep 'main'
使用匹配模式查找已经加载的类1
sc -d *TranslateListener
1 | ``` |
1 | ``` |