update doc

This commit is contained in:
hengyunabc committed 2018-12-04 19:08:18 +08:00
1 parent a598382890
commit 78b6af69f8
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -94,9 +94,9 @@ java.home /Library/Java/JavaVir
e/jre e/jre
``` ```
## 4. Get the Main Class of the process with the thread command ## 4. Get the Main Class of the `arthas-demo` process with the thread command
``` ```bash
$ thread -n -1 | grep 'main(' $ thread -n -1 | grep 'main('
at demo.MathGame.main(MathGame.java:17) at demo.MathGame.main(MathGame.java:17)
``` ```
+2 -2
View File
@@ -95,9 +95,9 @@ java.home /Library/Java/JavaVir
e/jre e/jre
``` ```
## 4. 通过thread命令来获取到进程的Main Class ## 4. 通过thread命令来获取到`arthas-demo`进程的Main Class
``` ```bash
$ thread -n -1 | grep 'main(' $ thread -n -1 | grep 'main('
at demo.MathGame.main(MathGame.java:17) at demo.MathGame.main(MathGame.java:17)
``` ```