mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update doc. fix #334
This commit is contained in:
@@ -94,11 +94,11 @@ java.home /Library/Java/JavaVir
|
||||
e/jre
|
||||
```
|
||||
|
||||
## 4. Get the Main Class of the process with the sysenv command
|
||||
## 4. Get the Main Class of the process with the thread command
|
||||
|
||||
```
|
||||
$ sysenv | grep MAIN
|
||||
JAVA_MAIN_CLASS_71560 demo.MathGame
|
||||
$ thread -n -1 | grep 'main('
|
||||
at demo.MathGame.main(MathGame.java:17)
|
||||
```
|
||||
|
||||
## 5. Decompile Main Class with jad command
|
||||
|
||||
@@ -95,11 +95,11 @@ java.home /Library/Java/JavaVir
|
||||
e/jre
|
||||
```
|
||||
|
||||
## 4. 通过sysenv命令来获取到进程的Main Class
|
||||
## 4. 通过thread命令来获取到进程的Main Class
|
||||
|
||||
```
|
||||
$ sysenv | grep MAIN
|
||||
JAVA_MAIN_CLASS_71560 demo.MathGame
|
||||
$ thread -n -1 | grep 'main('
|
||||
at demo.MathGame.main(MathGame.java:17)
|
||||
```
|
||||
|
||||
## 5. 通过jad来反编绎Main Class
|
||||
|
||||
Reference in New Issue
Block a user