mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-12 22:41:26 +00:00
update doc
This commit is contained in:
1 parent
d57fc2387a
commit
9510db822c
14 files changed
+31
-17
No files matched your search
@@ -96,8 +96,10 @@ java.home /Library/Java/JavaVir
|
||||
|
||||
## 4. Get the Main Class of the `arthas-demo` process with the thread command
|
||||
|
||||
`thread 1` will print the stack of the thread with ID 1, which usually the main function thread.
|
||||
|
||||
```bash
|
||||
$ thread -n -1 | grep 'main('
|
||||
$ thread 1 | grep 'main('
|
||||
at demo.MathGame.main(MathGame.java:17)
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user