mirror of https://github.com/alibaba/arthas.git
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.
25 lines
386 B
Markdown
25 lines
386 B
Markdown
|
|
|
|
### View all thread information
|
|
|
|
`thread`{{execute T2}}
|
|
|
|
|
|
### View the stack of specific threads
|
|
|
|
View the stack of thread ID 16:
|
|
|
|
`thread 16`{{execute T2}}
|
|
|
|
### View the stack of CPU usage TOP N threads
|
|
|
|
`thread -n 3`{{execute T2}}
|
|
|
|
View the CPU usage TOP N thread stack in 5 seconds
|
|
|
|
`thread -n 3 -i 5000`{{execute T2}}
|
|
|
|
### Find if the thread is blocked
|
|
|
|
`thread -b`{{execute T2}}
|