mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-14 06:45:19 +00:00
fix install-detail.md. #51
This commit is contained in:
1 parent
325fc1f77e
commit
2c4e9edd36
1 file changed
+5
-3
@@ -40,11 +40,13 @@ If in Windows, the color is not working as expect. You can try [conemu](https://
|
|||||||
|
|
||||||
If you cannot boot Arthas, try to pass in all the critical options manually as the following steps:
|
If you cannot boot Arthas, try to pass in all the critical options manually as the following steps:
|
||||||
|
|
||||||
### 1. locate the java for JVM:
|
1. locate the java for JVM:
|
||||||
|
|
||||||
- Linux/Unix/Mac: `ps aux | grep java`
|
- Linux/Unix/Mac: `ps aux | grep java`
|
||||||
- Windows: open the Process Monitor to search java
|
- Windows: open the Process Monitor to search java
|
||||||
|
|
||||||
### 2. Concatenate the command
|
2. Concatenate the command
|
||||||
|
|
||||||
Let's suppose we are using `/opt/jdk1.8/bin/java`, then the command should be:
|
Let's suppose we are using `/opt/jdk1.8/bin/java`, then the command should be:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -68,7 +70,7 @@ But if you are using JDK 1.9 or above,then you do not need to add `tools.jar`
|
|||||||
|
|
||||||
F.Y.I the booting log will be printed to `~/logs/arthas/arthas.log`.
|
F.Y.I the booting log will be printed to `~/logs/arthas/arthas.log`.
|
||||||
|
|
||||||
### 3. Connect via telnet
|
3. Connect via telnet
|
||||||
|
|
||||||
When attached successfully, you can connect it with
|
When attached successfully, you can connect it with
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user