You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/tutorials/katacoda/arthas-advanced-cn/case-thread.md

26 lines
353 B
Markdown

### 查看所有线程信息
`thread`{{execute T2}}
### 查看具体线程的栈
查看线程ID 16的栈
`thread 16`{{execute T2}}
### 查看CPU使用率top n线程的栈
`thread -n 3`{{execute T2}}
查看5秒内的CPU使用率top n线程栈
`thread -n 3 -i 5000`{{execute T2}}
### 查找线程是否有阻塞
`thread -b`{{execute T2}}