diff --git a/README.md b/README.md index 186bf5c27..ef59c0430 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -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`. @@ -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) @@ -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: @@ -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: @@ -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. @@ -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. @@ -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. @@ -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`: @@ -274,7 +274,7 @@ 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: @@ -282,7 +282,7 @@ See what is slowing down your method invocation with trace command: #### 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. @@ -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: @@ -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. @@ -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 @@ -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 @@ -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 diff --git a/README_CN.md b/README_CN.md index 2cfd4dc1a..829802c05 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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 ``` @@ -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` 中。 @@ -69,20 +69,20 @@ 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/ @@ -90,13 +90,13 @@ 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?他们到底在做什么? @@ -129,7 +129,7 @@ $ thread -n 3 #### jad -* https://alibaba.github.io/arthas/jad +* https://arthas.aliyun.com/doc/jad 对类进行反编译: @@ -169,7 +169,7 @@ public interface Servlet { ``` #### mc -* https://alibaba.github.io/arthas/mc +* https://arthas.aliyun.com/doc/mc Memory Compiler/内存编译器,编译`.java`文件生成`.class`。 @@ -178,7 +178,7 @@ mc /tmp/Test.java ``` #### redefine -* https://alibaba.github.io/arthas/redefine +* https://arthas.aliyun.com/doc/redefine 加载外部的`.class`文件,redefine jvm已加载的类。 @@ -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中已经加载的类 @@ -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` 的调用堆栈: @@ -263,7 +263,7 @@ 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 观察方法执行的时候哪个子调用比较慢: @@ -271,7 +271,7 @@ ts=2018-09-18 10:11:45;thread_name=http-bio-8080-exec-10;id=d9;is_daemon=true;pr #### Watch -* https://alibaba.github.io/arthas/watch +* https://arthas.aliyun.com/doc/watch 观察方法 `test.arthas.TestWatch#doGet` 执行的入参,仅当方法抛出异常时才输出。 @@ -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秒输出一次。 @@ -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 记录方法调用信息,支持事后查看方法调用的参数,返回值,抛出的异常等信息,仿佛穿越时空隧道回到调用现场一般。 @@ -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 了解当前系统中有多少类加载器,以及每个加载器加载的类数量,帮助您判断是否有类加载器泄露。 @@ -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 @@ -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 diff --git a/bin/as.sh b/bin/as.sh index 1aaac22fd..43a75385b 100755 --- a/bin/as.sh +++ b/bin/as.sh @@ -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. @@ -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: " diff --git a/bin/install.sh b/bin/install.sh index e2c77ba60..656e11ec7 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -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 diff --git a/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java b/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java index 51d1223f2..1891cd98a 100644 --- a/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java +++ b/boot/src/main/java/com/taobao/arthas/boot/Bootstrap.java @@ -57,7 +57,7 @@ import static com.taobao.arthas.boot.ProcessUtils.STATUS_EXEC_TIMEOUT; + " 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; diff --git a/core/src/main/java/com/taobao/arthas/core/Arthas.java b/core/src/main/java/com/taobao/arthas/core/Arthas.java index 45f15d7d6..901e3f364 100644 --- a/core/src/main/java/com/taobao/arthas/core/Arthas.java +++ b/core/src/main/java/com/taobao/arthas/core/Arthas.java @@ -57,7 +57,7 @@ public class Arthas { 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")); diff --git a/core/src/main/java/com/taobao/arthas/core/command/Constants.java b/core/src/main/java/com/taobao/arthas/core/command/Constants.java index 3cb018bc4..9ba9e1407 100644 --- a/core/src/main/java/com/taobao/arthas/core/command/Constants.java +++ b/core/src/main/java/com/taobao/arthas/core/command/Constants.java @@ -25,7 +25,7 @@ public interface Constants { String WIKI = "\nWIKI:\n"; - String WIKI_HOME = " https://alibaba.github.io/arthas/"; + String WIKI_HOME = " https://arthas.aliyun.com/doc/"; String EXPRESS_EXAMPLES = "Examples:\n" + " params\n" + diff --git a/core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java b/core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java index 0f5eeaf78..91e62f428 100644 --- a/core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java +++ b/core/src/main/java/com/taobao/arthas/core/util/ArthasBanner.java @@ -23,7 +23,7 @@ public class ArthasBanner { private static final String LOGO_LOCATION = "/com/taobao/arthas/core/res/logo.txt"; private static final String CREDIT_LOCATION = "/com/taobao/arthas/core/res/thanks.txt"; private static final String VERSION_LOCATION = "/com/taobao/arthas/core/res/version"; - private static final String WIKI = "https://alibaba.github.io/arthas"; + private static final String WIKI = "https://arthas.aliyun.com/doc"; private static final String TUTORIALS = "https://arthas.aliyun.com/doc/arthas-tutorials.html"; private static String LOGO = "Welcome to Arthas"; diff --git a/core/src/main/resources/com/taobao/arthas/core/http/index.html b/core/src/main/resources/com/taobao/arthas/core/http/index.html index 3c22bb287..db75acae1 100644 --- a/core/src/main/resources/com/taobao/arthas/core/http/index.html +++ b/core/src/main/resources/com/taobao/arthas/core/http/index.html @@ -44,7 +44,7 @@ @@ -90,9 +90,9 @@ diff --git a/site/src/site/sphinx/_include_html/arthas-tutorials.html b/site/src/site/sphinx/_include_html/arthas-tutorials.html index 4c2e59e14..4663614d8 100644 --- a/site/src/site/sphinx/_include_html/arthas-tutorials.html +++ b/site/src/site/sphinx/_include_html/arthas-tutorials.html @@ -848,9 +848,9 @@ }, docUrl: function () { if (this.language === "en") { - return "https://alibaba.github.io/arthas/en"; + return "https://arthas.aliyun.com/doc/en"; } else { - return "https://alibaba.github.io/arthas"; + return "https://arthas.aliyun.com/doc"; } }, tutorialsStr: function () { diff --git a/site/src/site/sphinx/_templates/layout.html b/site/src/site/sphinx/_templates/layout.html index cb69d4be8..5566ae167 100644 --- a/site/src/site/sphinx/_templates/layout.html +++ b/site/src/site/sphinx/_templates/layout.html @@ -33,7 +33,7 @@ var hm = document.createElement("script"); if (window.location.hostname == "arthas.gitee.io") { hm.src = "https://hm.baidu.com/hm.js?ecc1b0d9aeb73da1671876133211d4d3"; - } else { // https://alibaba.github.io/arthas/ + } else { // https://arthas.aliyun.com/doc/ hm.src = "https://hm.baidu.com/hm.js?d5c5e25b100f0eb51a4c35c8a86ea9b4"; } diff --git a/site/src/site/sphinx/advanced-use.md b/site/src/site/sphinx/advanced-use.md index 7caa50341..23ef94031 100644 --- a/site/src/site/sphinx/advanced-use.md +++ b/site/src/site/sphinx/advanced-use.md @@ -135,7 +135,7 @@ Escape character is '^]'. `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki https://alibaba.github.io/arthas +wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.3.6 pid 58883 diff --git a/site/src/site/sphinx/arthas3.md b/site/src/site/sphinx/arthas3.md index 15fa0fb51..f510c4bb4 100644 --- a/site/src/site/sphinx/arthas3.md +++ b/site/src/site/sphinx/arthas3.md @@ -27,7 +27,7 @@ watch com.alibaba.sample.petstore.web.store.module.screen.ItemList add "params + 为了避免这个问题,Arthas 3.0中使用了ognl这个更加轻量的表达式求值库来代替groovy,彻底解决了groovy引起的FGC风险。但由于这个替换,导致原来使用groovy脚本编写的自定义脚本失效。这个问题留待后续解决。 -在3.0中,watch命令的表达式部分的书写有了一些改变,详见[这里](https://alibaba.github.io/arthas/watch) +在3.0中,watch命令的表达式部分的书写有了一些改变,详见[这里](https://arthas.aliyun.com/doc/watch) #### 提升rt统计精度 diff --git a/site/src/site/sphinx/arthas_3_0/new_feature.md b/site/src/site/sphinx/arthas_3_0/new_feature.md index d38392e94..044a75a9a 100644 --- a/site/src/site/sphinx/arthas_3_0/new_feature.md +++ b/site/src/site/sphinx/arthas_3_0/new_feature.md @@ -63,7 +63,7 @@ watch com.alibaba.sample.petstore.web.store.module.screen.ItemList add "params + 为了避免这个问题,Arthas 3.0中使用了ognl这个更加轻量的表达式求值库来代替groovy,彻底解决了groovy引起的FGC风险。但由于这个替换,导致原来使用groovy脚本编写的自定义脚本失效。这个问题留待后续解决。 -在3.0中,watch命令的表达式部分的书写有了一些改变,详见[这里](https://alibaba.github.io/arthas/watch) +在3.0中,watch命令的表达式部分的书写有了一些改变,详见[这里](https://arthas.aliyun.com/doc/watch) ### 提升rt统计精度 Arthas 2.0中,统计rt都是以`ms`为单位,对于某些比较小的方法调用,耗时在毫秒以下的都会被认为是0ms,造成trace总时间和各方法的时间相加不一致等问题(虽然这里面确实会有误差,主要Arthas自身的开销)。Arthas 3.0中所有rt的单位统一改为使用`ns`来统计,精准捕获你的方法耗时,让0ms这样无意义的统计数据不再出现! diff --git a/site/src/site/sphinx/async.md b/site/src/site/sphinx/async.md index d54038549..dcb017ff6 100644 --- a/site/src/site/sphinx/async.md +++ b/site/src/site/sphinx/async.md @@ -1,7 +1,7 @@ Arthas后台异步任务 === -[`后台异步任务`在线教程](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=case-async-jobs) +[`后台异步任务`在线教程](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=case-async-jobs) arthas中的后台异步任务,使用了仿linux系统任务相关的命令。[linux任务相关介绍](https://ehlxr.me/2017/01/18/Linux-%E4%B8%AD-fg%E3%80%81bg%E3%80%81jobs%E3%80%81-%E6%8C%87%E4%BB%A4/)。 diff --git a/site/src/site/sphinx/docker.md b/site/src/site/sphinx/docker.md index 8abb1e8d3..545bbd635 100644 --- a/site/src/site/sphinx/docker.md +++ b/site/src/site/sphinx/docker.md @@ -32,7 +32,7 @@ Docker `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' - wiki: https://alibaba.github.io/arthas + wiki: https://arthas.aliyun.com/doc version: 3.0.5 pid: 9 time: 2018-12-18 11:30:36 @@ -41,13 +41,13 @@ Docker ## 诊断Docker里的Java进程 ```sh -docker exec -it ${containerId} /bin/bash -c "wget https://alibaba.github.io/arthas/arthas-boot.jar && java -jar arthas-boot.jar" +docker exec -it ${containerId} /bin/bash -c "wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar" ``` ## 诊断k8s里容器里的Java进程 ```sh -kubectl exec -it ${pod} --container ${containerId} -- /bin/bash -c "wget https://alibaba.github.io/arthas/arthas-boot.jar && java -jar arthas-boot.jar" +kubectl exec -it ${pod} --container ${containerId} -- /bin/bash -c "wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar" ``` ## 把Arthas安装到基础镜像里 diff --git a/site/src/site/sphinx/dump.md b/site/src/site/sphinx/dump.md index a271baad3..c02a6b395 100644 --- a/site/src/site/sphinx/dump.md +++ b/site/src/site/sphinx/dump.md @@ -1,7 +1,7 @@ dump === -[`dump`在线教程](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=command-dump) +[`dump`在线教程](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=command-dump) > dump 已加载类的 bytecode 到特定目录 diff --git a/site/src/site/sphinx/en/README.md b/site/src/site/sphinx/en/README.md index 1f919f4e5..de758e833 100644 --- a/site/src/site/sphinx/en/README.md +++ b/site/src/site/sphinx/en/README.md @@ -1 +1 @@ -Arthas is an online diagnostic product, via which you can easily grasp the overview of the load, memory, GC, thread profile. With the help of Arthas, you can analyze business issues without even modifying the production code. You can check the arguments, returned value, exceptions of the method, apart from that you can even monitor the time cost by the method as well as classes loaded. With all those assistance, the online troubleshooting can be much easier than ever before. Have a [try](https://alibaba.github.io/arthas/index.html) now! +Arthas is an online diagnostic product, via which you can easily grasp the overview of the load, memory, GC, thread profile. With the help of Arthas, you can analyze business issues without even modifying the production code. You can check the arguments, returned value, exceptions of the method, apart from that you can even monitor the time cost by the method as well as classes loaded. With all those assistance, the online troubleshooting can be much easier than ever before. Have a [try](https://arthas.aliyun.com/doc/index.html) now! diff --git a/site/src/site/sphinx/en/advanced-use.md b/site/src/site/sphinx/en/advanced-use.md index 4e92506b7..46794e852 100644 --- a/site/src/site/sphinx/en/advanced-use.md +++ b/site/src/site/sphinx/en/advanced-use.md @@ -130,7 +130,7 @@ Escape character is '^]'. `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki https://alibaba.github.io/arthas +wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.3.6 pid 58883 diff --git a/site/src/site/sphinx/en/async.md b/site/src/site/sphinx/en/async.md index f225728a3..ca5970000 100644 --- a/site/src/site/sphinx/en/async.md +++ b/site/src/site/sphinx/en/async.md @@ -1,7 +1,7 @@ Arthas Async Jobs === -[`Async Jobs` online tutorial](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=case-async-jobs) +[`Async Jobs` online tutorial](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=case-async-jobs) Asynchronous jobs in arthas. The idea is borrowed from [linux jobs](http://man7.org/linux/man-pages/man1/jobs.1p.html). diff --git a/site/src/site/sphinx/en/docker.md b/site/src/site/sphinx/en/docker.md index 334f76d15..204fd0652 100644 --- a/site/src/site/sphinx/en/docker.md +++ b/site/src/site/sphinx/en/docker.md @@ -32,7 +32,7 @@ Docker `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' - wiki: https://alibaba.github.io/arthas + wiki: https://arthas.aliyun.com/doc version: 3.0.5 pid: 9 time: 2018-12-18 11:30:36 @@ -41,13 +41,13 @@ Docker ## Diagnose the Java process in Docker ```sh -docker exec -it ${containerId} /bin/bash -c "wget https://alibaba.github.io/arthas/arthas-boot.jar && java -jar arthas-boot.jar" +docker exec -it ${containerId} /bin/bash -c "wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar" ``` ## Diagnose the Java process in the container in k8s ```sh -kubectl exec -it ${pod} --container ${containerId} -- /bin/bash -c "wget https://alibaba.github.io/arthas/arthas-boot.jar && java -jar arthas-boot.jar" +kubectl exec -it ${pod} --container ${containerId} -- /bin/bash -c "wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar" ``` ## Install Arthas into the base Docker image diff --git a/site/src/site/sphinx/en/dump.md b/site/src/site/sphinx/en/dump.md index 1b63b4f32..f582fc2aa 100644 --- a/site/src/site/sphinx/en/dump.md +++ b/site/src/site/sphinx/en/dump.md @@ -1,7 +1,7 @@ dump === -[`dump` online tutorial](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=command-dump) +[`dump` online tutorial](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=command-dump) > Dump the bytecode for the particular classes to the specified directory. diff --git a/site/src/site/sphinx/en/grep.md b/site/src/site/sphinx/en/grep.md index 3e1187f1c..771a27c84 100644 --- a/site/src/site/sphinx/en/grep.md +++ b/site/src/site/sphinx/en/grep.md @@ -22,7 +22,7 @@ grep thread | grep -m 10 -e "TIMED_WAITING|WAITING" WIKI: - https://alibaba.github.io/arthas/grep + https://arthas.aliyun.com/doc/grep OPTIONS: -A, --after-context Print NUM lines of trailing context) diff --git a/site/src/site/sphinx/en/http-api.md b/site/src/site/sphinx/en/http-api.md index 2e76d9079..3f4656bf4 100644 --- a/site/src/site/sphinx/en/http-api.md +++ b/site/src/site/sphinx/en/http-api.md @@ -302,7 +302,7 @@ The response content is as follows: "type" : "welcome", "jobId" : 0, "pid" : "7909", - "wiki" : "https://alibaba.github.io/arthas", + "wiki" : "https://arthas.aliyun.com/doc", "version" : "3.3.8-SNAPSHOT" }, { diff --git a/site/src/site/sphinx/en/index.md b/site/src/site/sphinx/en/index.md index 441394f58..d2101770a 100644 --- a/site/src/site/sphinx/en/index.md +++ b/site/src/site/sphinx/en/index.md @@ -1,7 +1,7 @@ Arthas Documentation === -**[中文文档/Chinese Documentation](https://alibaba.github.io/arthas/)** +**[中文文档/Chinese Documentation](https://arthas.aliyun.com/doc/)** ![](arthas.png) diff --git a/site/src/site/sphinx/en/install-detail.md b/site/src/site/sphinx/en/install-detail.md index 6ff3b5aa8..a7b6e14c1 100644 --- a/site/src/site/sphinx/en/install-detail.md +++ b/site/src/site/sphinx/en/install-detail.md @@ -9,7 +9,7 @@ Install Arthas 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 ``` @@ -25,7 +25,7 @@ java -jar arthas-boot.jar -h 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://arthas.aliyun.com/install.sh | sh ``` The command above will download the bootstrap script `as.sh` to the current directory. You can move it to any other place you want, or put its location in `$PATH`. diff --git a/site/src/site/sphinx/en/manual-install.md b/site/src/site/sphinx/en/manual-install.md index 5ddd022d7..46c901dd3 100644 --- a/site/src/site/sphinx/en/manual-install.md +++ b/site/src/site/sphinx/en/manual-install.md @@ -41,7 +41,7 @@ Manually Install Arthas 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://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`. diff --git a/site/src/site/sphinx/en/ognl.md b/site/src/site/sphinx/en/ognl.md index 8f1f3af8d..f6095534a 100644 --- a/site/src/site/sphinx/en/ognl.md +++ b/site/src/site/sphinx/en/ognl.md @@ -1,7 +1,7 @@ ognl === -[`ognl` online tutorial](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=command-ognl) +[`ognl` online tutorial](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=command-ognl) > Execute ognl expression. diff --git a/site/src/site/sphinx/en/quick-start.md b/site/src/site/sphinx/en/quick-start.md index 7d47b7162..af0dee903 100644 --- a/site/src/site/sphinx/en/quick-start.md +++ b/site/src/site/sphinx/en/quick-start.md @@ -4,7 +4,7 @@ Quick Start ## 1. Start Demo Application ```bash -curl -O https://alibaba.github.io/arthas/arthas-demo.jar +curl -O https://arthas.aliyun.com/arthas-demo.jar java -jar arthas-demo.jar ``` @@ -19,7 +19,7 @@ The source code of `arthas-demo`: [View](https://github.com/alibaba/arthas/blob/ Execute the following command in the command line: ```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 ``` @@ -48,7 +48,7 @@ The 'Demo' process is the second as shown above, press '2' then 'Enter'. Arthas `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki: https://alibaba.github.io/arthas +wiki: https://arthas.aliyun.com/doc version: 3.0.5.20181127201536 pid: 71560 time: 2018-11-28 19:16:24 diff --git a/site/src/site/sphinx/en/save-log.md b/site/src/site/sphinx/en/save-log.md index c024e2238..e4b64de70 100644 --- a/site/src/site/sphinx/en/save-log.md +++ b/site/src/site/sphinx/en/save-log.md @@ -1,7 +1,7 @@ Log command outputs =================== -[`Log command outputs` online tutorial](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=case-save-log) +[`Log command outputs` online tutorial](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=case-save-log) > Log command outputs for later analysis diff --git a/site/src/site/sphinx/en/sysenv.md b/site/src/site/sphinx/en/sysenv.md index 63f3e5162..8973a9a75 100644 --- a/site/src/site/sphinx/en/sysenv.md +++ b/site/src/site/sphinx/en/sysenv.md @@ -19,7 +19,7 @@ sysenv sysenv USER WIKI: - https://alibaba.github.io/arthas/sysenv + https://arthas.aliyun.com/doc/sysenv OPTIONS: -h, --help this help diff --git a/site/src/site/sphinx/en/sysprop.md b/site/src/site/sphinx/en/sysprop.md index 4ae1ce429..c16999d65 100644 --- a/site/src/site/sphinx/en/sysprop.md +++ b/site/src/site/sphinx/en/sysprop.md @@ -20,7 +20,7 @@ sysprop sysprop production.mode true WIKI: - https://alibaba.github.io/arthas/sysprop + https://arthas.aliyun.com/doc/sysprop OPTIONS: -h, --help this help diff --git a/site/src/site/sphinx/en/tee.md b/site/src/site/sphinx/en/tee.md index 9376c8137..380eddf8f 100644 --- a/site/src/site/sphinx/en/tee.md +++ b/site/src/site/sphinx/en/tee.md @@ -20,7 +20,7 @@ tee sysprop | tee -a /path/to/logfile | grep java WIKI: - https://alibaba.github.io/arthas/tee + https://arthas.aliyun.com/doc/tee OPTIONS: -a, --append Append to file diff --git a/site/src/site/sphinx/en/web-console.md b/site/src/site/sphinx/en/web-console.md index 1f4b0137f..24c94faba 100644 --- a/site/src/site/sphinx/en/web-console.md +++ b/site/src/site/sphinx/en/web-console.md @@ -60,7 +60,7 @@ After Arthas attach succeeds, the agentId will be printed, such as: `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki https://alibaba.github.io/arthas +wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.1.2 pid 86183 diff --git a/site/src/site/sphinx/grep.md b/site/src/site/sphinx/grep.md index 5eace9317..daa0ce206 100644 --- a/site/src/site/sphinx/grep.md +++ b/site/src/site/sphinx/grep.md @@ -22,7 +22,7 @@ grep thread | grep -m 10 -e "TIMED_WAITING|WAITING" WIKI: - https://alibaba.github.io/arthas/grep + https://arthas.aliyun.com/doc/grep OPTIONS: -A, --after-context Print NUM lines of trailing context) diff --git a/site/src/site/sphinx/http-api.md b/site/src/site/sphinx/http-api.md index 1382670ed..41817d6d7 100644 --- a/site/src/site/sphinx/http-api.md +++ b/site/src/site/sphinx/http-api.md @@ -249,7 +249,7 @@ while true; do curl -Ss -XPOST http://localhost:8563/api -d ' "type" : "welcome", "jobId" : 0, "pid" : "7909", - "wiki" : "https://alibaba.github.io/arthas", + "wiki" : "https://arthas.aliyun.com/doc", "version" : "3.3.8-SNAPSHOT" }, { diff --git a/site/src/site/sphinx/index.md b/site/src/site/sphinx/index.md index 9d6c2ac0a..028febeef 100644 --- a/site/src/site/sphinx/index.md +++ b/site/src/site/sphinx/index.md @@ -1,7 +1,7 @@ Arthas 用户文档 === -**[English Docs](https://alibaba.github.io/arthas/en/)** +**[English Docs](https://arthas.aliyun.com/doc/en/)** ## Arthas(阿尔萨斯) 能为你做什么? @@ -29,7 +29,7 @@ Contents * [应届生招聘!](https://mp.weixin.qq.com/s/VVSc_a3mLELW35lMH7rR0Q) * [社招信息!](https://mp.weixin.qq.com/s/677GO-3kYx5ygG9rlOlfQg) * [技术征文!](https://developer.aliyun.com/article/751641) -* [English Docs](https://alibaba.github.io/arthas/en/) +* [English Docs](https://arthas.aliyun.com/doc/en/) * [在线教程(推荐)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn) * [安装](install-detail.md) * [下载](download.md) diff --git a/site/src/site/sphinx/install-detail.md b/site/src/site/sphinx/install-detail.md index 8c1356bfe..1c32acd94 100644 --- a/site/src/site/sphinx/install-detail.md +++ b/site/src/site/sphinx/install-detail.md @@ -8,7 +8,7 @@ Arthas Install 下载`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 ``` @@ -36,7 +36,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` 中。 diff --git a/site/src/site/sphinx/manual-install.md b/site/src/site/sphinx/manual-install.md index e98ee4289..c661fb911 100644 --- a/site/src/site/sphinx/manual-install.md +++ b/site/src/site/sphinx/manual-install.md @@ -39,7 +39,7 @@ 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` 中。 diff --git a/site/src/site/sphinx/ognl.md b/site/src/site/sphinx/ognl.md index 77b30038c..be7eb7eca 100644 --- a/site/src/site/sphinx/ognl.md +++ b/site/src/site/sphinx/ognl.md @@ -1,7 +1,7 @@ ognl === -[`ognl`在线教程](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=command-ognl) +[`ognl`在线教程](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=command-ognl) > 执行ognl表达式 diff --git a/site/src/site/sphinx/quick-start.md b/site/src/site/sphinx/quick-start.md index b4098ed7f..710ba9523 100644 --- a/site/src/site/sphinx/quick-start.md +++ b/site/src/site/sphinx/quick-start.md @@ -4,7 +4,7 @@ ## 1. 启动Demo ```bash -curl -O https://alibaba.github.io/arthas/arthas-demo.jar +curl -O https://arthas.aliyun.com/arthas-demo.jar java -jar arthas-demo.jar ``` @@ -18,7 +18,7 @@ java -jar arthas-demo.jar 在命令行下面执行(使用和目标进程一致的用户启动,否则可能attach失败): ```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 ``` @@ -49,7 +49,7 @@ Demo进程是第2个,则输入2,再输入`回车/enter`。Arthas会attach到 `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki: https://alibaba.github.io/arthas +wiki: https://arthas.aliyun.com/doc version: 3.0.5.20181127201536 pid: 71560 time: 2018-11-28 19:16:24 diff --git a/site/src/site/sphinx/save-log.md b/site/src/site/sphinx/save-log.md index 6f94c2894..7d844b4ff 100644 --- a/site/src/site/sphinx/save-log.md +++ b/site/src/site/sphinx/save-log.md @@ -1,7 +1,7 @@ 执行结果存日志 === -[`执行结果存日志`在线教程](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=case-save-log) +[`执行结果存日志`在线教程](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=case-save-log) > 将命令的结果完整保存在日志文件中,便于后续进行分析 diff --git a/site/src/site/sphinx/sysenv.md b/site/src/site/sphinx/sysenv.md index 79862d556..4830a15c7 100644 --- a/site/src/site/sphinx/sysenv.md +++ b/site/src/site/sphinx/sysenv.md @@ -19,7 +19,7 @@ sysenv sysenv USER WIKI: - https://alibaba.github.io/arthas/sysenv + https://arthas.aliyun.com/doc/sysenv OPTIONS: -h, --help this help diff --git a/site/src/site/sphinx/sysprop.md b/site/src/site/sphinx/sysprop.md index 61f9a7d26..f9991dd46 100644 --- a/site/src/site/sphinx/sysprop.md +++ b/site/src/site/sphinx/sysprop.md @@ -20,7 +20,7 @@ sysprop sysprop production.mode true WIKI: - https://alibaba.github.io/arthas/sysprop + https://arthas.aliyun.com/doc/sysprop OPTIONS: -h, --help this help diff --git a/site/src/site/sphinx/tee.md b/site/src/site/sphinx/tee.md index 6580a3b03..c95b269b1 100644 --- a/site/src/site/sphinx/tee.md +++ b/site/src/site/sphinx/tee.md @@ -20,7 +20,7 @@ tee sysprop | tee -a /path/to/logfile | grep java WIKI: - https://alibaba.github.io/arthas/tee + https://arthas.aliyun.com/doc/tee OPTIONS: -a, --append Append to file diff --git a/site/src/site/sphinx/web-console.md b/site/src/site/sphinx/web-console.md index f8579eb21..817aebd2f 100644 --- a/site/src/site/sphinx/web-console.md +++ b/site/src/site/sphinx/web-console.md @@ -64,7 +64,7 @@ attach成功之后,会打印出agentId,比如: `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----' -wiki https://alibaba.github.io/arthas +wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.1.2 pid 86183 diff --git a/tunnel-server/src/main/resources/static/index.html b/tunnel-server/src/main/resources/static/index.html index e0a62bc03..a55b8fb0d 100644 --- a/tunnel-server/src/main/resources/static/index.html +++ b/tunnel-server/src/main/resources/static/index.html @@ -44,7 +44,7 @@