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.
615 B
615 B
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
n
is used to specify the top number of busiest threads with stack traces printed:
thread -n 3
{{execute T2}}
i
is used to specify the interval to collect data to compute CPU ratios (ms)
View the CPU usage TOP N thread stack in 5 seconds
thread -n 3 -i 5000
{{execute T2}}
Find if the thread is blocked
b
is used to specify to locate the thread blocking the others
thread -b
{{execute T2}}