Skip to content

Commit

Permalink
change URL to 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
siuhui committed Aug 26, 2024
1 parent 0228858 commit 2b6595e
Show file tree
Hide file tree
Showing 102 changed files with 190 additions and 196 deletions.
61 changes: 29 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Build Status](https://github.com/alibaba/arthas/workflows/JavaCI/badge.svg)](https://github.com/alibaba/arthas/actions)
[![codecov](https://codecov.io/gh/alibaba/arthas/branch/master/graph/badge.svg)](https://codecov.io/gh/alibaba/arthas)
[![maven](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg)](https://search.maven.org/search?q=g:com.taobao.arthas)
[![maven](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging?versionPrefix=3)](https://search.maven.org/search?q=g:com.taobao.arthas)
![license](https://img.shields.io/github/license/alibaba/arthas.svg)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/alibaba/arthas.svg)](http://isitmaintained.com/project/alibaba/arthas "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/alibaba/arthas.svg)](http://isitmaintained.com/project/alibaba/arthas "Percentage of issues still open")
Expand Down Expand Up @@ -43,10 +43,7 @@ Arthas was built to solve these issues. A developer can troubleshoot your produc
* Supports JDK 6+.
* Supports Linux/Mac/Windows.


### [Online Tutorials(Recommended)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=en)

* [Usages](tutorials/katacoda/README.md#online-tutorial-usages)
### [Online Tutorials(Recommended)](https://arthas.aliyun.com/3.x/doc/arthas-tutorials.html?language=en)

### Quick start

Expand Down Expand Up @@ -80,18 +77,18 @@ You can enter its interactive interface by executing `as3.sh`, or execute `as3.s

### Documentation

* [Online Tutorials(Recommended)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=en)
* [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)
* [Online Tutorials(Recommended)](https://arthas.aliyun.com/3.x/doc/arthas-tutorials.html?language=en)
* [User manual](https://arthas.aliyun.com/3.x/doc/en)
* [Installation](https://arthas.aliyun.com/3.x/doc/en/install-detail.html)
* [Download](https://arthas.aliyun.com/3.x/doc/en/download.html)
* [Quick start](https://arthas.aliyun.com/3.x/doc/en/quick-start.html)
* [Advanced usage](https://arthas.aliyun.com/3.x/doc/en/advanced-use.html)
* [Commands](https://arthas.aliyun.com/3.x/doc/en/commands.html)
* [WebConsole](https://arthas.aliyun.com/3.x/doc/en/web-console.html)
* [Docker](https://arthas.aliyun.com/3.x/doc/en/docker.html)
* [Arthas Spring Boot Starter](https://arthas.aliyun.com/3.x/doc/en/spring-boot-starter.html)
* [User cases](https://github.com/alibaba/arthas/issues?q=label%3Auser-case)
* [FAQ](https://arthas.aliyun.com/doc/en/faq)
* [FAQ](https://arthas.aliyun.com/3.x/doc/en/faq)
* [Compile and debug/How to contribute](https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md)
* [Release Notes](https://github.com/alibaba/arthas/releases)

Expand All @@ -100,13 +97,13 @@ You can enter its interactive interface by executing `as3.sh`, or execute `as3.s

#### Dashboard

* https://arthas.aliyun.com/doc/en/dashboard
* https://arthas.aliyun.com/3.x/doc/en/dashboard

![dashboard](site/docs/.vuepress/public/images/dashboard.png)

#### Thread

* https://arthas.aliyun.com/doc/en/thread
* https://arthas.aliyun.com/3.x/doc/en/thread

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

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

#### jad

* https://arthas.aliyun.com/doc/en/jad
* https://arthas.aliyun.com/3.x/doc/en/jad

Decompile your class with one shot:

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

#### mc
* https://arthas.aliyun.com/doc/en/mc
* https://arthas.aliyun.com/3.x/doc/en/mc

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

Expand All @@ -189,7 +186,7 @@ $ mc /tmp/Test.java

#### retransform

* https://arthas.aliyun.com/doc/en/retransform
* https://arthas.aliyun.com/3.x/doc/en/retransform

Load the external `*.class` files to retransform/hotswap the loaded classes in JVM.

Expand All @@ -200,7 +197,7 @@ retransform -c 327a647b /tmp/Test.class /tmp/Test\$Inner.class

#### sc

* https://arthas.aliyun.com/doc/en/sc
* https://arthas.aliyun.com/3.x/doc/en/sc

Search any loaded class with detailed information.

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

#### vmtool

* https://arthas.aliyun.com/doc/en/vmtool
* https://arthas.aliyun.com/3.x/doc/en/vmtool

Get objects in the heap that are instances of the specified class.

Expand All @@ -261,7 +258,7 @@ $ vmtool --action getInstances --className java.lang.String --limit 10

#### stack

* https://arthas.aliyun.com/doc/en/stack
* https://arthas.aliyun.com/3.x/doc/en/stack

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

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

#### Trace

* https://arthas.aliyun.com/doc/en/trace
* https://arthas.aliyun.com/3.x/doc/en/trace

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

![trace](site/docs/.vuepress/public/images/trace.png)

#### Watch

* https://arthas.aliyun.com/doc/en/watch
* https://arthas.aliyun.com/3.x/doc/en/watch

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

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

#### Monitor

* https://arthas.aliyun.com/doc/en/monitor
* https://arthas.aliyun.com/3.x/doc/en/monitor

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

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

#### Time Tunnel(tt)

* https://arthas.aliyun.com/doc/en/tt
* https://arthas.aliyun.com/3.x/doc/en/tt

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

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

#### Classloader

* https://arthas.aliyun.com/doc/en/classloader
* https://arthas.aliyun.com/3.x/doc/en/classloader

```bash
$ classloader
Expand All @@ -387,14 +384,14 @@ $ classloader

#### Web Console

* https://arthas.aliyun.com/doc/en/web-console
* https://arthas.aliyun.com/3.x/doc/en/web-console

![web console](site/docs/.vuepress/public/images/web-console-local.png)


#### Profiler/FlameGraph

* https://arthas.aliyun.com/doc/en/profiler
* https://arthas.aliyun.com/3.x/doc/en/profiler

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

#### Arthas Spring Boot Starter

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

### Known Users

Expand Down
63 changes: 30 additions & 33 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![Build Status](https://github.com/alibaba/arthas/workflows/JavaCI/badge.svg)](https://github.com/alibaba/arthas/actions)
[![codecov](https://codecov.io/gh/alibaba/arthas/branch/master/graph/badge.svg)](https://codecov.io/gh/alibaba/arthas)
[![maven](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg)](https://search.maven.org/search?q=g:com.taobao.arthas)
[![maven](https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging?versionPrefix=3)](https://search.maven.org/search?q=g:com.taobao.arthas)
![license](https://img.shields.io/github/license/alibaba/arthas.svg)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/alibaba/arthas.svg)](http://isitmaintained.com/project/alibaba/arthas "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/alibaba/arthas.svg)](http://isitmaintained.com/project/alibaba/arthas "Percentage of issues still open")
Expand All @@ -29,10 +29,7 @@ English version goes [here](README.md).

`Arthas`支持JDK 6+,支持Linux/Mac/Windows,采用命令行交互模式,同时提供丰富的 `Tab` 自动补全功能,进一步方便进行问题的定位和诊断。


### [在线教程(推荐)](https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn)

* [使用方法](tutorials/katacoda/README_CN.md#在线教程使用方法)
### [在线教程(推荐)](https://arthas.aliyun.com/3.x/doc/arthas-tutorials.html?language=cn)

### 快速开始

Expand Down Expand Up @@ -69,33 +66,33 @@ curl -L https://arthas.aliyun.com/install3.sh | sh

### 文档

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

### 案例展示

#### Dashboard

* https://arthas.aliyun.com/doc/dashboard
* https://arthas.aliyun.com/3.x/doc/dashboard

![dashboard](site/docs/.vuepress/public/images/dashboard.png)

#### Thread

* https://arthas.aliyun.com/doc/thread
* https://arthas.aliyun.com/3.x/doc/thread

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

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

#### jad

* https://arthas.aliyun.com/doc/jad
* https://arthas.aliyun.com/3.x/doc/jad

对类进行反编译:

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

#### mc
* https://arthas.aliyun.com/doc/mc
* https://arthas.aliyun.com/3.x/doc/mc

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

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

#### retransform
* https://arthas.aliyun.com/doc/retransform
* https://arthas.aliyun.com/3.x/doc/retransform

加载外部的`.class`文件,retransform 热更新jvm已加载的类。

Expand All @@ -187,7 +184,7 @@ retransform -c 327a647b /tmp/Test.class /tmp/Test\$Inner.class
```

#### sc
* https://arthas.aliyun.com/doc/sc
* https://arthas.aliyun.com/3.x/doc/sc

查找JVM中已经加载的类

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

#### vmtool

* https://arthas.aliyun.com/doc/vmtool
* https://arthas.aliyun.com/3.x/doc/vmtool

从JVM heap中获取指定类的实例。

Expand All @@ -246,7 +243,7 @@ $ vmtool --action getInstances --className java.lang.String --limit 10
```
#### stack

* https://arthas.aliyun.com/doc/stack
* https://arthas.aliyun.com/3.x/doc/stack

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

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

#### Trace

* https://arthas.aliyun.com/doc/trace
* https://arthas.aliyun.com/3.x/doc/trace

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

![trace](site/docs/.vuepress/public/images/trace.png)

#### Watch

* https://arthas.aliyun.com/doc/watch
* https://arthas.aliyun.com/3.x/doc/watch

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

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

#### Monitor

* https://arthas.aliyun.com/doc/monitor
* https://arthas.aliyun.com/3.x/doc/monitor

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

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

#### Time Tunnel(tt)

* https://arthas.aliyun.com/doc/tt
* https://arthas.aliyun.com/3.x/doc/tt

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

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

#### Classloader

* https://arthas.aliyun.com/doc/classloader
* https://arthas.aliyun.com/3.x/doc/classloader

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

Expand All @@ -375,13 +372,13 @@ $ classloader

#### Web Console

* https://arthas.aliyun.com/doc/web-console
* https://arthas.aliyun.com/3.x/doc/web-console

![web console](site/docs/.vuepress/public/images/web-console-local.png)

#### Profiler/FlameGraph/火焰图

* https://arthas.aliyun.com/doc/profiler
* https://arthas.aliyun.com/3.x/doc/profiler

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

#### Arthas Spring Boot Starter

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

### Known Users

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static void attach() {
}

/**
* @see https://arthas.aliyun.com/doc/arthas-properties.html
* @see https://arthas.aliyun.com/3.x/doc/arthas-properties.html
* @param configMap
*/
public static void attach(Map<String, String> configMap) {
Expand Down
Loading

0 comments on commit 2b6595e

Please sign in to comment.