mirror of
https://gitee.com/arthas/arthas.git
synced 2024-11-29 18:58:37 +08:00
update link to arthas.aliyun.com. #1411
This commit is contained in:
parent
ecda07c36f
commit
f9160fcbea
52
README.md
52
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
|
||||
|
||||
|
54
README_CN.md
54
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
|
||||
|
||||
|
@ -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:
|
||||
"
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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"));
|
||||
|
@ -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" +
|
||||
|
@ -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";
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Documentation
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Documentation
|
||||
<span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
@ -28,9 +28,9 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Documentation</a>
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas-tutorials" target="_blank">Online Tutorials</a>
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Github</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Documentation</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc-tutorials" target="_blank">Online Tutorials</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Github</a>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="12" class="header-right">
|
||||
@ -90,9 +90,9 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="logo">
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Documentation</a>
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas-tutorials" target="_blank">Online Tutorials</a>
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Github</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Documentation</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc-tutorials" target="_blank">Online Tutorials</a>
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Github</a>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="12" class="header-right">
|
||||
|
@ -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 () {
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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统计精度
|
||||
|
||||
|
@ -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这样无意义的统计数据不再出现!
|
||||
|
@ -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/)。
|
||||
|
||||
|
@ -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安装到基础镜像里
|
||||
|
@ -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 到特定目录
|
||||
|
||||
|
@ -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!
|
||||
|
@ -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
|
||||
|
@ -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).
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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 <value> Print NUM lines of trailing context)
|
||||
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
Arthas Documentation
|
||||
===
|
||||
|
||||
**[中文文档/Chinese Documentation](https://alibaba.github.io/arthas/)**
|
||||
**[中文文档/Chinese Documentation](https://arthas.aliyun.com/doc/)**
|
||||
|
||||
![](arthas.png)
|
||||
|
||||
|
@ -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`.
|
||||
|
@ -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`.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 <value> Print NUM lines of trailing context)
|
||||
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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` 中。
|
||||
|
@ -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` 中。
|
||||
|
@ -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表达式
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
> 将命令的结果完整保存在日志文件中,便于后续进行分析
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="https://alibaba.github.io/arthas" target="_blank">Documentation
|
||||
<a class="nav-link" href="https://arthas.aliyun.com/doc" target="_blank">Documentation
|
||||
<span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar --target-ip 0.0.0.0`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
`tt`即 TimeTunnel,它可以记录下指定方法每次调用的入参和返回信息,并能对这些不同的时间下调用进行观测。
|
||||
|
||||
* https://alibaba.github.io/arthas/tt.html
|
||||
* https://arthas.aliyun.com/doc/tt.html
|
||||
|
||||
`tt -t org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod`{{execute T2}}
|
||||
|
||||
|
@ -63,7 +63,7 @@ ts=2019-02-15 01:35:25; [cost=0.996655ms] result=@ArrayList[
|
||||
`watch com.example.demo.arthas.user.UserController * '{params[0], target, returnObj}'`{{execute T2}}
|
||||
|
||||
|
||||
更多参考: https://alibaba.github.io/arthas/advice-class.html
|
||||
更多参考: https://arthas.aliyun.com/doc/advice-class.html
|
||||
|
||||
|
||||
### 条件表达式
|
||||
|
@ -2,7 +2,7 @@
|
||||
在“进阶教程”,演示了Arthas的大部分高级用法,希望对大家排查问题有帮助。如果有更多的技巧或者使用疑问,欢迎在Issue里提出。
|
||||
|
||||
* Issues: https://github.com/alibaba/arthas/issues
|
||||
* 文档: https://alibaba.github.io/arthas
|
||||
* 文档: https://arthas.aliyun.com/doc
|
||||
|
||||
|
||||
如果您在使用Arthas,请让我们知道,您的使用对我们非常重要:[查看](https://github.com/alibaba/arthas/issues/111)
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。
|
||||
|
||||
本教程会以一个普通的Spring Boot应用为例,演示Arthas命令的详细用法。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
@ -16,4 +16,4 @@ http://[[HOST_SUBDOMAIN]]-8563-[[KATACODA_HOST]].environments.katacoda.com/?ip=[
|
||||
|
||||
![Arthas WebConsole](/arthas/scenarios/common-resources/assets/web-console.png)
|
||||
|
||||
推荐通过“快速入门”来体验: https://alibaba.github.io/arthas/quick-start.html
|
||||
推荐通过“快速入门”来体验: https://arthas.aliyun.com/doc/quick-start.html
|
@ -4,7 +4,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar --target-ip 0.0.0.0`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
@ -6,7 +6,7 @@ In this case, the user can get the spring context, get the bean, and invoke the
|
||||
|
||||
`tt` is TimeTunnel, which records the parameters and return value of each invocation of the specified method.
|
||||
|
||||
* https://alibaba.github.io/arthas/tt.html
|
||||
* https://arthas.aliyun.com/doc/tt.html
|
||||
|
||||
`tt -t org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod`{{execute T2}}
|
||||
|
||||
|
@ -61,7 +61,7 @@ You can use these built-in objects in the expressions. For example, return an ar
|
||||
`watch com.example.demo.arthas.user.UserController * '{params[0], target, returnObj}'`{{execute T2}}
|
||||
|
||||
|
||||
More references: https://alibaba.github.io/arthas/en/advice-class.html
|
||||
More references: https://arthas.aliyun.com/doc/en/advice-class.html
|
||||
|
||||
|
||||
### The conditional expression
|
||||
|
@ -2,7 +2,7 @@
|
||||
In the `Advanced Tutorial`, there are most of the advanced usages of Arthas and hope to help you troubleshoot the issue. If you have more tips or questions, please feel free to ask in Issue.
|
||||
|
||||
* Issues: https://github.com/alibaba/arthas/issues
|
||||
* Documentation: https://alibaba.github.io/arthas
|
||||
* Documentation: https://arthas.aliyun.com/doc
|
||||
|
||||
|
||||
If you are using Arthas, please let us know that your use is very important to us: [View](https://github.com/alibaba/arthas/issues/111)
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
This tutorial takes a normal Spring Boot application as an example to demonstrate the advanced usage of the Arthas.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Docs: https://alibaba.github.io/arthas/
|
||||
* Docs: https://arthas.aliyun.com/doc/
|
@ -17,4 +17,4 @@ When launching locally, you can access Arthas through a browser by visiting http
|
||||
![Arthas WebConsole](/arthas/scenarios/common-resources/assets/web-console.png)
|
||||
|
||||
|
||||
It is recommended to experience it through "Quick Start": https://alibaba.github.io/arthas/en/quick-start.html
|
||||
It is recommended to experience it through "Quick Start": https://arthas.aliyun.com/doc/en/quick-start.html
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar --target-ip 0.0.0.0`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
下载`arthas-demo.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-demo.jar
|
||||
`wget https://arthas.aliyun.com/arthas-demo.jar
|
||||
java -jar arthas-demo.jar`{{execute T1}}
|
||||
|
||||
`arthas-demo`是一个很简单的程序,它随机生成整数,再执行因式分解,把结果打印出来。如果生成的随机数是负数,则会打印提示信息。
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
* [Arthas进阶](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas 文档](https://alibaba.github.io/arthas/)
|
||||
* [Arthas 文档](https://arthas.aliyun.com/doc/)
|
||||
|
||||
欢迎关注公众号,获取Arthas项目的信息,源码分析,案例实践。
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪Java代码;实时监控JVM状态。
|
||||
|
||||
`Arthas` 支持JDK 6+,支持Linux/Mac/Windows,采用命令行交互模式,同时提供丰富的 `Tab` 自动补全功能,进一步方便进行问题的定位和诊断。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
@ -3,7 +3,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar --target-ip 0.0.0.0`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Download `arthas-demo.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-demo.jar
|
||||
`wget https://arthas.aliyun.com/arthas-demo.jar
|
||||
java -jar arthas-demo.jar`{{execute T1}}
|
||||
|
||||
`arthas-demo` is a very simple program that randomly generates integers, performs factorization, and prints the results.
|
||||
|
@ -3,4 +3,4 @@ Through this tutorial, you can know how to use Arthas. More advanced features ca
|
||||
|
||||
* [Arthas Advanced](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=en&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas Documentation](https://alibaba.github.io/arthas/en)
|
||||
* [Arthas Documentation](https://arthas.aliyun.com/doc/en)
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
`Arthas` supports JDK 6+, supports Linux/Mac/Windows.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Documentation: https://alibaba.github.io/arthas/en
|
||||
* Documentation: https://arthas.aliyun.com/doc/en
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
下载`arthas-demo.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-demo.jar
|
||||
`wget https://arthas.aliyun.com/arthas-demo.jar
|
||||
java -jar arthas-demo.jar`{{execute T1}}
|
||||
|
||||
`arthas-demo`是一个很简单的程序,它随机生成整数,再执行因式分解,把结果打印出来。如果生成的随机数是负数,则会打印提示信息。
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
通过本教程基本掌握了Arthas后台异步任务。更多高级特性,可以在下面的进阶指南里继续了解。
|
||||
|
||||
* [Arthas进阶](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas进阶](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas 文档](https://alibaba.github.io/arthas/)
|
||||
* [Arthas 文档](https://arthas.aliyun.com/doc/)
|
||||
|
||||
欢迎关注公众号,获取Arthas项目的信息,源码分析,案例实践。
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪Java代码;实时监控JVM状态。
|
||||
|
||||
@ -20,4 +20,4 @@
|
||||
本教程会以一个简单的应用为例,演示后台异步任务。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Download `arthas-demo.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-demo.jar
|
||||
`wget https://arthas.aliyun.com/arthas-demo.jar
|
||||
java -jar arthas-demo.jar`{{execute T1}}
|
||||
|
||||
`arthas-demo` is a very simple program that randomly generates integers, performs factorization, and prints the results.
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
Through this tutorial, you can know Arthas Async Jobs. More advanced features can be found in the Advanced Guide below.
|
||||
|
||||
* [Arthas Advanced](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Advanced](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas Documentation](https://alibaba.github.io/arthas/en)
|
||||
* [Arthas Documentation](https://arthas.aliyun.com/doc/en)
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
@ -36,5 +36,5 @@ Arthas is built to solve these issues. A developer can troubleshoot production i
|
||||
This tutorial takes a simple application as an example to demonstrate the the use case of Async Jobs.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Docs: https://alibaba.github.io/arthas/
|
||||
* Docs: https://arthas.aliyun.com/doc/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar`{{execute T2}}
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot.jar` 支持很多参数,可以执行 `java -jar arthas-boot.jar -h`{{execute T2}} 来查看。
|
||||
|
||||
@ -34,7 +34,7 @@ EXAMPLES:
|
||||
java -jar arthas-boot.jar --attach-only
|
||||
java -jar arthas-boot.jar --repo-mirror aliyun --use-http
|
||||
WIKI:
|
||||
https://alibaba.github.io/arthas
|
||||
https://arthas.aliyun.com/doc
|
||||
|
||||
Options and Arguments:
|
||||
-h,--help Print usage
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
通过本教程基本掌握了Arthas boot支持的参数。更多高级特性,可以在下面的进阶指南里继续了解。
|
||||
|
||||
* [Arthas进阶](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas进阶](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas 文档](https://alibaba.github.io/arthas/)
|
||||
* [Arthas 文档](https://arthas.aliyun.com/doc/)
|
||||
|
||||
欢迎关注公众号,获取Arthas项目的信息,源码分析,案例实践。
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪Java代码;实时监控JVM状态。
|
||||
|
||||
@ -20,4 +20,4 @@
|
||||
本教程会以一个简单的应用为例,演示arthas-boot支持的参数。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
Arthas 支持在 Linux/Unix/Mac 等平台上一键安装:
|
||||
|
||||
`curl -L https://alibaba.github.io/arthas/install.sh | sh`{{execute T2}}
|
||||
`curl -L https://arthas.aliyun.com/install.sh | sh`{{execute T2}}
|
||||
|
||||
上述命令会下载启动脚本文件 `as.sh` 到当前目录,你可以放在任何地方或将其加入到 `$PATH` 中。
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar`{{execute T2}}
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
||||
@ -37,7 +37,7 @@ EXAMPLES:
|
||||
java -jar arthas-boot.jar --attach-only
|
||||
java -jar arthas-boot.jar --repo-mirror aliyun --use-http
|
||||
WIKI:
|
||||
https://alibaba.github.io/arthas
|
||||
https://arthas.aliyun.com/doc
|
||||
|
||||
Options and Arguments:
|
||||
-h,--help Print usage
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
Through this tutorial, you can know boot supported options. More advanced features can be found in the Advanced Guide below.
|
||||
|
||||
* [Arthas Advanced](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Advanced](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas Documentation](https://alibaba.github.io/arthas/en)
|
||||
* [Arthas Documentation](https://arthas.aliyun.com/doc/en)
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
@ -36,5 +36,5 @@ Arthas is built to solve these issues. A developer can troubleshoot production i
|
||||
This tutorial takes a simple application as an example to demonstrate the the use case of Arthas boot supported options.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Docs: https://alibaba.github.io/arthas/
|
||||
* Docs: https://arthas.aliyun.com/doc/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
Arthas Support express install on Linux/Unix/Mac:
|
||||
|
||||
`curl -L https://alibaba.github.io/arthas/install.sh | sh`{{execute T2}}
|
||||
`curl -L https://arthas.aliyun.com/install.sh | sh`{{execute T2}}
|
||||
|
||||
The command above will download boot script file `as.sh` into current directory,you can put it at any place or list it into `$PATH`.
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
`tt`即 TimeTunnel,它可以记录下指定方法每次调用的入参和返回信息,并能对这些不同的时间下调用进行观测。
|
||||
|
||||
* https://alibaba.github.io/arthas/tt.html
|
||||
* https://arthas.aliyun.com/doc/tt.html
|
||||
|
||||
`tt -t org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod`{{execute T2}}
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
通过本教程基本掌握了Arthas获取Spring Context。更多高级特性,可以在下面的进阶指南里继续了解。
|
||||
|
||||
* [Arthas进阶](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas进阶](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas 文档](https://alibaba.github.io/arthas/)
|
||||
* [Arthas 文档](https://arthas.aliyun.com/doc/)
|
||||
|
||||
欢迎关注公众号,获取Arthas项目的信息,源码分析,案例实践。
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪Java代码;实时监控JVM状态。
|
||||
|
||||
`Arthas` 支持JDK 6+,支持Linux/Mac/Windows,采用命令行交互模式,同时提供丰富的 `Tab` 自动补全功能,进一步方便进行问题的定位和诊断。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
@ -4,7 +4,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
@ -6,7 +6,7 @@ In this case, the user can get the spring context, get the bean, and invoke the
|
||||
|
||||
`tt` is TimeTunnel, which records the parameters and return value of each invocation of the specified method.
|
||||
|
||||
* https://alibaba.github.io/arthas/tt.html
|
||||
* https://arthas.aliyun.com/doc/tt.html
|
||||
|
||||
`tt -t org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod`{{execute T2}}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
Through this tutorial, you can know how to Get the Spring Context. More advanced features can be found in the Advanced Guide below.
|
||||
|
||||
* [Arthas Advanced](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Advanced](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas Documentation](https://alibaba.github.io/arthas/en)
|
||||
* [Arthas Documentation](https://arthas.aliyun.com/doc/en)
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
`Arthas` supports JDK 6+, supports Linux/Mac/Windows.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Documentation: https://alibaba.github.io/arthas/en
|
||||
* Documentation: https://arthas.aliyun.com/doc/en
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
通过本教程基本掌握了Arthas排查HTTP请求返回401。更多高级特性,可以在下面的进阶指南里继续了解。
|
||||
|
||||
* [Arthas进阶](https://alibaba.github.io/arthas/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas进阶](https://arthas.aliyun.com/doc/arthas-tutorials?language=cn&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas 文档](https://alibaba.github.io/arthas/)
|
||||
* [Arthas 文档](https://arthas.aliyun.com/doc/)
|
||||
|
||||
欢迎关注公众号,获取Arthas项目的信息,源码分析,案例实践。
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` 是Alibaba开源的Java诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪Java代码;实时监控JVM状态。
|
||||
|
||||
`Arthas` 支持JDK 6+,支持Linux/Mac/Windows,采用命令行交互模式,同时提供丰富的 `Tab` 自动补全功能,进一步方便进行问题的定位和诊断。
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* 文档: https://alibaba.github.io/arthas/
|
||||
* 文档: https://arthas.aliyun.com/doc/
|
@ -4,7 +4,7 @@
|
||||
|
||||
In the new `Terminal 2`, download `arthas-boot.jar` and start with the `java -jar` command:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot` is the launcher for `Arthas`. It lists all the Java processes, and the user can select the target process to be diagnosed.
|
||||
|
@ -61,7 +61,7 @@ You can use these built-in objects in the expressions. For example, return an ar
|
||||
`watch com.example.demo.arthas.user.UserController * '{params[0], target, returnObj}'`{{execute T2}}
|
||||
|
||||
|
||||
More references: https://alibaba.github.io/arthas/en/advice-class.html
|
||||
More references: https://arthas.aliyun.com/doc/en/advice-class.html
|
||||
|
||||
|
||||
### The conditional expression
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
Through this tutorial, you can know how to Troubleshooting HTTP request returns 401. More advanced features can be found in the Advanced Guide below.
|
||||
|
||||
* [Arthas Advanced](https://alibaba.github.io/arthas/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Advanced](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=arthas-advanced)
|
||||
* [Arthas Github](https://github.com/alibaba/arthas)
|
||||
* [Arthas Documentation](https://alibaba.github.io/arthas/en)
|
||||
* [Arthas Documentation](https://arthas.aliyun.com/doc/en)
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
|
||||
![Arthas](https://alibaba.github.io/arthas/_images/arthas.png)
|
||||
![Arthas](https://arthas.aliyun.com/doc/_images/arthas.png)
|
||||
|
||||
`Arthas` is a Java diagnostic tool open-sourced by Alibaba middleware team. Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
|
||||
|
||||
`Arthas` supports JDK 6+, supports Linux/Mac/Windows.
|
||||
|
||||
* Github: https://github.com/alibaba/arthas
|
||||
* Documentation: https://alibaba.github.io/arthas/en
|
||||
* Documentation: https://arthas.aliyun.com/doc/en
|
@ -4,7 +4,7 @@
|
||||
|
||||
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
|
||||
|
||||
`wget https://alibaba.github.io/arthas/arthas-boot.jar
|
||||
`wget https://arthas.aliyun.com/arthas-boot.jar
|
||||
java -jar arthas-boot.jar`{{execute T2}}
|
||||
|
||||
`arthas-boot`是`Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user