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-en/case-thread.md

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}}