mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
update README
This commit is contained in:
1 parent
5711612946
commit
78391369a4
4 files changed
+44
-28
No files matched your search
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Arthas help developers in trouble-shooting production issues for Java applications without modifying code or restarting servers.
|
Arthas help developers in trouble-shooting production issues for Java applications without modifying code or restarting servers.
|
||||||
|
|
||||||
[中文说明](README_CN.md) (For Chinese Documentation)
|
[中文说明/Chinese Documentation](README_CN.md)
|
||||||
|
|
||||||
### Background
|
### Background
|
||||||
|
|
||||||
@@ -41,26 +41,32 @@ Arthas was built to solve these issues. A developer can trouble-shoot your produ
|
|||||||
|
|
||||||
### Quick start
|
### Quick start
|
||||||
|
|
||||||
#### Linux/Unix/Mac
|
#### Use `arthas-boot`(Recommend)
|
||||||
|
|
||||||
Install Arthas:
|
Download`arthas-boot.jar`,Start with `java` command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||||
|
java -jar arthas-boot.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Print usage:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar -h
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Use `as.sh`
|
||||||
|
|
||||||
|
You can install Arthas with one single line command on Linux, Unix, and Mac. Pls. copy the following command and paste it into the command line, then press *Enter* to run:
|
||||||
|
|
||||||
|
```bash
|
||||||
curl -L https://alibaba.github.io/arthas/install.sh | sh
|
curl -L https://alibaba.github.io/arthas/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Start Arthas:
|
The command above will download the bootstrap script `as.sh` to the current directory. You can move it the any other place you want, or put its location in `$PATH`.
|
||||||
|
|
||||||
```
|
You can enter its interactive interface by executing `as.sh`, or execute `as.sh -h` for more help information.
|
||||||
./as.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Windows
|
|
||||||
|
|
||||||
1. Click [](http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.taobao.arthas&a=arthas-packaging&e=zip&c=bin&v=LATEST) to download the latest binary releases of `bin.zip`.
|
|
||||||
2. Unzip the file.
|
|
||||||
3. Go to the bin directory
|
|
||||||
4. Run the following command `as.bat $PID`
|
|
||||||
|
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|||||||
+22
-12
@@ -31,26 +31,36 @@ English version goes [here](README.md).
|
|||||||
|
|
||||||
### 快速开始
|
### 快速开始
|
||||||
|
|
||||||
#### Linux/Unix/Mac
|
#### 使用`arthas-boot`(推荐)
|
||||||
|
|
||||||
安装Arthas:
|
下载`arthas-boot.jar`,然后用`java -jar`的方式启动:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||||
|
java -jar arthas-boot.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
打印帮助信息:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -jar arthas-boot.jar -h
|
||||||
|
```
|
||||||
|
|
||||||
|
* 如果下载速度比较慢,可以使用aliyun的镜像:`java -jar arthas-boot.jar --repo-mirror aliyun --use-http`
|
||||||
|
|
||||||
|
#### 使用`as.sh`
|
||||||
|
|
||||||
|
Arthas 支持在 Linux/Unix/Mac 等平台上一键安装,请复制以下内容,并粘贴到命令行中,敲 `回车` 执行即可:
|
||||||
|
|
||||||
|
```bash
|
||||||
curl -L https://alibaba.github.io/arthas/install.sh | sh
|
curl -L https://alibaba.github.io/arthas/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
启动Arthas:
|
上述命令会下载启动脚本文件 `as.sh` 到当前目录,你可以放在任何地方或将其加入到 `$PATH` 中。
|
||||||
|
|
||||||
```
|
直接在shell下面执行`./as.sh`,就会进入交互界面。
|
||||||
./as.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Windows
|
也可以执行`./as.sh -h`来获取更多参数信息。
|
||||||
|
|
||||||
1. 点击 [](http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.taobao.arthas&a=arthas-packaging&e=zip&c=bin&v=LATEST) 下载最新的Arthas `bin.zip`包
|
|
||||||
2. 解压缩zip包.
|
|
||||||
3. 进入bin目录
|
|
||||||
4. 执行以下命令 `as.bat $PID`
|
|
||||||
|
|
||||||
|
|
||||||
### 文档
|
### 文档
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Install Arthas
|
|||||||
## Quick installation
|
## Quick installation
|
||||||
|
|
||||||
|
|
||||||
### Use `arthas-boot`
|
### Use `arthas-boot`(Recommend)
|
||||||
|
|
||||||
Download`arthas-boot.jar`,Start with `java` command:
|
Download`arthas-boot.jar`,Start with `java` command:
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Arthas Install
|
|||||||
|
|
||||||
## 快速安装
|
## 快速安装
|
||||||
|
|
||||||
### 使用`arthas-boot`
|
### 使用`arthas-boot`(推荐)
|
||||||
|
|
||||||
下载`arthas-boot.jar`,然后用`java -jar`的方式启动:
|
下载`arthas-boot.jar`,然后用`java -jar`的方式启动:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user