Skip to content

Commit

Permalink
update link to arthas.aliyun.com. alibaba#1411
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc committed Aug 10, 2020
1 parent ecda07c commit f9160fc
Show file tree
Hide file tree
Showing 400 changed files with 565 additions and 565 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Arthas was built to solve these issues. A developer can troubleshoot your produc
Download`arthas-boot.jar`,Start with `java` command:

```bash
curl -O https://alibaba.github.io/arthas/arthas-boot.jar
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
```

Expand All @@ -69,7 +69,7 @@ java -jar arthas-boot.jar -h
You can install Arthas with one single line command on Linux, Unix, and Mac. 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://arthas.aliyun.com/install.sh | sh
```

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`.
Expand All @@ -80,15 +80,15 @@ You can enter its interactive interface by executing `as.sh`, or execute `as.sh
### Documentation

* [Online Tutorials(Recommended)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=en)
* [User manual](https://alibaba.github.io/arthas/en)
* [Installation](https://alibaba.github.io/arthas/en/install-detail.html)
* [Download](https://alibaba.github.io/arthas/en/download.html)
* [Quick start](https://alibaba.github.io/arthas/en/quick-start.html)
* [Advanced usage](https://alibaba.github.io/arthas/en/advanced-use.html)
* [Commands](https://alibaba.github.io/arthas/en/commands.html)
* [WebConsole](https://alibaba.github.io/arthas/en/web-console.html)
* [Docker](https://alibaba.github.io/arthas/en/docker.html)
* [Arthas Spring Boot Starter](https://alibaba.github.io/arthas/en/spring-boot-starter.html)
* [User manual](https://arthas.aliyun.com/doc/en)
* [Installation](https://arthas.aliyun.com/doc/en/install-detail.html)
* [Download](https://arthas.aliyun.com/doc/en/download.html)
* [Quick start](https://arthas.aliyun.com/doc/en/quick-start.html)
* [Advanced usage](https://arthas.aliyun.com/doc/en/advanced-use.html)
* [Commands](https://arthas.aliyun.com/doc/en/commands.html)
* [WebConsole](https://arthas.aliyun.com/doc/en/web-console.html)
* [Docker](https://arthas.aliyun.com/doc/en/docker.html)
* [Arthas Spring Boot Starter](https://arthas.aliyun.com/doc/en/spring-boot-starter.html)
* [User cases](https://github.com/alibaba/arthas/issues?q=label%3Auser-case)
* [Questions and answers](https://github.com/alibaba/arthas/issues?utf8=%E2%9C%93&q=label%3Aquestion-answered+)
* [Compile and debug/How to contribute](https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md)
Expand All @@ -99,13 +99,13 @@ You can enter its interactive interface by executing `as.sh`, or execute `as.sh

#### Dashboard

* https://alibaba.github.io/arthas/en/dashboard
* https://arthas.aliyun.com/doc/en/dashboard

![dashboard](site/src/site/sphinx/_static/dashboard.png)

#### Thread

* https://alibaba.github.io/arthas/en/thread
* https://arthas.aliyun.com/doc/en/thread

See what is eating your CPU (ranked by top CPU usage) and what is going on there in one glance:

Expand Down Expand Up @@ -138,7 +138,7 @@ $ thread -n 3

#### jad

* https://alibaba.github.io/arthas/en/jad
* https://arthas.aliyun.com/doc/en/jad

Decompile your class with one shot:

Expand Down Expand Up @@ -178,7 +178,7 @@ public interface Servlet {
```

#### mc
* https://alibaba.github.io/arthas/en/mc
* https://arthas.aliyun.com/doc/en/mc

Memory compiler, compiles `.java` files into `.class` files in memory.

Expand All @@ -188,7 +188,7 @@ mc /tmp/Test.java

#### redefine

* https://alibaba.github.io/arthas/en/redefine
* https://arthas.aliyun.com/doc/en/redefine

Load the external `*.class` files to re-define the loaded classes in JVM.

Expand All @@ -199,7 +199,7 @@ redefine -c 327a647b /tmp/Test.class /tmp/Test\$Inner.class

#### sc

* https://alibaba.github.io/arthas/en/sc
* https://arthas.aliyun.com/doc/en/sc

Search any loaded class with detailed information.

Expand Down Expand Up @@ -237,7 +237,7 @@ $ sc -d org.springframework.web.context.support.XmlWebApplicationContext

#### stack

* https://alibaba.github.io/arthas/en/stack
* https://arthas.aliyun.com/doc/en/stack

View the call stack of `test.arthas.TestStack#doGet`:

Expand Down Expand Up @@ -274,15 +274,15 @@ ts=2018-09-18 10:11:45;thread_name=http-bio-8080-exec-10;id=d9;is_daemon=true;pr

#### Trace

* https://alibaba.github.io/arthas/en/trace
* https://arthas.aliyun.com/doc/en/trace

See what is slowing down your method invocation with trace command:

![trace](site/src/site/sphinx/_static/trace.png)

#### Watch

* https://alibaba.github.io/arthas/en/watch
* https://arthas.aliyun.com/doc/en/watch

Watch the first parameter and thrown exception of `test.arthas.TestWatch#doGet` only if it throws exception.

Expand All @@ -298,7 +298,7 @@ ts=2018-09-18 10:26:28;result=@ArrayList[

#### Monitor

* https://alibaba.github.io/arthas/en/monitor
* https://arthas.aliyun.com/doc/en/monitor

Monitor a specific method invocation statistics, including total number of invocations, average response time, success rate, and every 5 seconds:

Expand All @@ -321,7 +321,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 109 ms.

#### Time Tunnel(tt)

* https://alibaba.github.io/arthas/en/tt
* https://arthas.aliyun.com/doc/en/tt

Record method invocation data, so that you can check the method invocation parameters, returned value, and thrown exceptions later. It works as if you could come back and replay the past method invocation via time tunnel.

Expand All @@ -344,7 +344,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 75 ms.

#### Classloader

* https://alibaba.github.io/arthas/en/classloader
* https://arthas.aliyun.com/doc/en/classloader

```bash
$ classloader
Expand All @@ -363,14 +363,14 @@ $ classloader

#### Web Console

* https://alibaba.github.io/arthas/en/web-console
* https://arthas.aliyun.com/doc/en/web-console

![web console](site/src/site/sphinx/_static/web-console-local.png)


#### Profiler/FlameGraph

* https://alibaba.github.io/arthas/en/profiler
* https://arthas.aliyun.com/doc/en/profiler

```bash
$ profiler start
Expand All @@ -389,7 +389,7 @@ View profiler results under arthas-output via browser:

#### Arthas Spring Boot Starter

* [Arthas Spring Boot Starter](https://alibaba.github.io/arthas/spring-boot-starter.html)
* [Arthas Spring Boot Starter](https://arthas.aliyun.com/doc/spring-boot-starter.html)

### Known Users

Expand Down
54 changes: 27 additions & 27 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ English version goes [here](README.md).
下载`arthas-boot.jar`,然后用`java -jar`的方式启动:

```bash
curl -O https://alibaba.github.io/arthas/arthas-boot.jar
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
```

Expand All @@ -57,7 +57,7 @@ java -jar arthas-boot.jar -h
Arthas 支持在 Linux/Unix/Mac 等平台上一键安装,请复制以下内容,并粘贴到命令行中,敲 `回车` 执行即可:

```bash
curl -L https://alibaba.github.io/arthas/install.sh | sh
curl -L https://arthas.aliyun.com/install.sh | sh
```

上述命令会下载启动脚本文件 `as.sh` 到当前目录,你可以放在任何地方或将其加入到 `$PATH` 中。
Expand All @@ -69,34 +69,34 @@ curl -L https://alibaba.github.io/arthas/install.sh | sh
### 文档

* [在线教程(推荐)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn)
* [用户文档](https://alibaba.github.io/arthas/)
* [安装](https://alibaba.github.io/arthas/install-detail.html)
* [下载](https://alibaba.github.io/arthas/download.html)
* [快速入门](https://alibaba.github.io/arthas/quick-start.html)
* [进阶使用](https://alibaba.github.io/arthas/advanced-use.html)
* [命令列表](https://alibaba.github.io/arthas/commands.html)
* [WebConsole](https://alibaba.github.io/arthas/web-console.html)
* [Docker](https://alibaba.github.io/arthas/docker.html)
* [Arthas Spring Boot Starter](https://alibaba.github.io/arthas/spring-boot-starter.html)
* [用户文档](https://arthas.aliyun.com/doc/)
* [安装](https://arthas.aliyun.com/doc/install-detail.html)
* [下载](https://arthas.aliyun.com/doc/download.html)
* [快速入门](https://arthas.aliyun.com/doc/quick-start.html)
* [进阶使用](https://arthas.aliyun.com/doc/advanced-use.html)
* [命令列表](https://arthas.aliyun.com/doc/commands.html)
* [WebConsole](https://arthas.aliyun.com/doc/web-console.html)
* [Docker](https://arthas.aliyun.com/doc/docker.html)
* [Arthas Spring Boot Starter](https://arthas.aliyun.com/doc/spring-boot-starter.html)
* [用户案例](https://github.com/alibaba/arthas/issues?q=label%3Auser-case)
* [常见问题](https://github.com/alibaba/arthas/issues?utf8=%E2%9C%93&q=label%3Aquestion-answered+)
* [编译调试/参与贡献](https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md)
* [Release Notes](https://github.com/alibaba/arthas/releases)
* [QQ群/钉钉群](https://alibaba.github.io/arthas/contact-us.html)
* [QQ群/钉钉群](https://arthas.aliyun.com/doc/contact-us.html)

Gitee文档镜像: https://arthas.gitee.io/

### 案例展示

#### Dashboard

* https://alibaba.github.io/arthas/dashboard
* https://arthas.aliyun.com/doc/dashboard

![dashboard](site/src/site/sphinx/_static/dashboard.png)

#### Thread

* https://alibaba.github.io/arthas/thread
* https://arthas.aliyun.com/doc/thread

一目了然的了解系统的状态,哪些线程比较占cpu?他们到底在做什么?

Expand Down Expand Up @@ -129,7 +129,7 @@ $ thread -n 3

#### jad

* https://alibaba.github.io/arthas/jad
* https://arthas.aliyun.com/doc/jad

对类进行反编译:

Expand Down Expand Up @@ -169,7 +169,7 @@ public interface Servlet {
```

#### mc
* https://alibaba.github.io/arthas/mc
* https://arthas.aliyun.com/doc/mc

Memory Compiler/内存编译器,编译`.java`文件生成`.class`

Expand All @@ -178,7 +178,7 @@ mc /tmp/Test.java
```

#### redefine
* https://alibaba.github.io/arthas/redefine
* https://arthas.aliyun.com/doc/redefine

加载外部的`.class`文件,redefine jvm已加载的类。

Expand All @@ -188,7 +188,7 @@ redefine -c 327a647b /tmp/Test.class /tmp/Test\$Inner.class
```

#### sc
* https://alibaba.github.io/arthas/sc
* https://arthas.aliyun.com/doc/sc

查找JVM中已经加载的类

Expand Down Expand Up @@ -226,7 +226,7 @@ $ sc -d org.springframework.web.context.support.XmlWebApplicationContext

#### stack

* https://alibaba.github.io/arthas/stack
* https://arthas.aliyun.com/doc/stack

查看方法 `test.arthas.TestStack#doGet` 的调用堆栈:

Expand Down Expand Up @@ -263,15 +263,15 @@ ts=2018-09-18 10:11:45;thread_name=http-bio-8080-exec-10;id=d9;is_daemon=true;pr

#### Trace

* https://alibaba.github.io/arthas/trace
* https://arthas.aliyun.com/doc/trace

观察方法执行的时候哪个子调用比较慢:

![trace](site/src/site/sphinx/_static/trace.png)

#### Watch

* https://alibaba.github.io/arthas/watch
* https://arthas.aliyun.com/doc/watch

观察方法 `test.arthas.TestWatch#doGet` 执行的入参,仅当方法抛出异常时才输出。

Expand All @@ -287,7 +287,7 @@ ts=2018-09-18 10:26:28;result=@ArrayList[

#### Monitor

* https://alibaba.github.io/arthas/monitor
* https://arthas.aliyun.com/doc/monitor

监控某个特殊方法的调用统计数据,包括总调用次数,平均rt,成功率等信息,每隔5秒输出一次。

Expand All @@ -311,7 +311,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 109 ms.

#### Time Tunnel(tt)

* https://alibaba.github.io/arthas/tt
* https://arthas.aliyun.com/doc/tt

记录方法调用信息,支持事后查看方法调用的参数,返回值,抛出的异常等信息,仿佛穿越时空隧道回到调用现场一般。

Expand All @@ -334,7 +334,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 75 ms.

#### Classloader

* https://alibaba.github.io/arthas/classloader
* https://arthas.aliyun.com/doc/classloader

了解当前系统中有多少类加载器,以及每个加载器加载的类数量,帮助您判断是否有类加载器泄露。

Expand All @@ -355,13 +355,13 @@ $ classloader

#### Web Console

* https://alibaba.github.io/arthas/web-console
* https://arthas.aliyun.com/doc/web-console

![web console](site/src/site/sphinx/_static/web-console-local.png)

#### Profiler/FlameGraph/火焰图

* https://alibaba.github.io/arthas/profiler
* https://arthas.aliyun.com/doc/profiler

```bash
$ profiler start
Expand All @@ -380,7 +380,7 @@ OK

#### Arthas Spring Boot Starter

* [Arthas Spring Boot Starter](https://alibaba.github.io/arthas/spring-boot-starter.html)
* [Arthas Spring Boot Starter](https://arthas.aliyun.com/doc/spring-boot-starter.html)

### Known Users

Expand Down
4 changes: 2 additions & 2 deletions bin/as.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# WIKI: https://alibaba.github.io/arthas
# WIKI: https://arthas.aliyun.com/doc
# This script only supports bash, do not support posix sh.
# If you have the problem like Syntax error: "(" unexpected (expecting "fi"),
# Try to run "bash -version" to check the version.
Expand Down Expand Up @@ -450,7 +450,7 @@ EXAMPLES:
./as.sh --select arthas-demo
./as.sh --repo-mirror aliyun --use-http
WIKI:
https://alibaba.github.io/arthas
https://arthas.aliyun.com/doc
Here is the list of possible java process(es) to attatch:
"
Expand Down
2 changes: 1 addition & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TARGET_ARTHAS_FILE="./as.sh"
SO_TIMEOUT=60

# default downloading url
ARTHAS_FILE_URL="https://alibaba.github.io/arthas/as.sh"
ARTHAS_FILE_URL="https://arthas.aliyun.com/as.sh"

# exit shell with err_code
# $1 : err_code
Expand Down
2 changes: 1 addition & 1 deletion boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
+ " java -jar arthas-boot.jar --select arthas-demo\n"
+ " java -jar arthas-boot.jar --session-timeout 3600\n" + " java -jar arthas-boot.jar --attach-only\n"
+ " java -jar arthas-boot.jar --repo-mirror aliyun --use-http\n" + "WIKI:\n"
+ " https://alibaba.github.io/arthas\n")
+ " https://arthas.aliyun.com/doc\n")
public class Bootstrap {
private static final int DEFAULT_TELNET_PORT = 3658;
private static final int DEFAULT_HTTP_PORT = 8563;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/taobao/arthas/core/Arthas.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private Configure parse(String[] args) {
if (commandLine.getOptionValue("target-ip") == null) {
throw new IllegalStateException("as.sh is too old to support web console, " +
"please run the following command to upgrade to latest version:" +
"\ncurl -sLk https://alibaba.github.io/arthas/install.sh | sh");
"\ncurl -sLk https://arthas.aliyun.com/install.sh | sh");
}
configure.setIp((String) commandLine.getOptionValue("target-ip"));
configure.setTelnetPort((Integer) commandLine.getOptionValue("telnet-port"));
Expand Down
Loading

0 comments on commit f9160fc

Please sign in to comment.