mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 20:28:05 +08:00
307 B
307 B
The thread 1
{{execute interrupt}} command prints the stack of thread ID 1.
Arthas supports pipes, and you can find main class
with thread 1 | grep 'main('
{{execute T2}}.
You can see that main class
is demo.MathGame
:
$ thread 1 | grep 'main('
at demo.MathGame.main(MathGame.java:17)