Introduction and Application of Arthas

Arthas is Alibaba's open source Java diagnostic tool, which is deeply loved by developers.

When you encounter the following similar problems and are at a loss, Arthas can help you solve them:

Which jar package is this class loaded from? Why are various types of related Exception reported?

Why is the code I changed not executed? Could it be that I didn't commit? Wrong branch?

I can’t debug online if I encounter a problem, can I only republish it by adding a log?

I encountered a user's data processing problem online, but the online debugging is also impossible, and the offline cannot be reproduced!

Is there a global perspective to view the health of the system?

Is there any way to monitor the real-time running status of the JVM?

How to quickly locate application hot spots and generate flame graphs?

Arthas supports JDK 6+, supports Linux/Mac/Windows, adopts a command line interactive mode, and provides a wealth of Tab auto-completion functions to further facilitate problem location and diagnosis.

User-provided usage scenarios

Use SkyWalking & Arthas to optimize microservice performance 

The Exploration and Practice of ICBC to Build an Online Diagnosis Platform 

Arthas practice: solve the slow SQL problem caused by the druid version 

arthas gets the target object that spring is proxied to 

Use Arthas to accurately locate the problem of high CPU load in Java applications 

Arthas practice: which Controller processed the request

Analysis of the root cause of the continuous increase in thread CPU occupancy rate 

Use Arthas to troubleshoot Spring Boot application NoSuchMethodError

Official document reading guide

(Analyze memory usage in the production environment, locate oom, locate the location of bugs, etc.)

Installation: https://arthas.gitee.io/install-detail.html
Download: https://arthas.gitee.io/download.html
Quick start: https://arthas.gitee.io/quick-start.html
Command list: https://arthas.gitee.io/commands.html
Upgrade command: https://arthas.gitee.io/advanced-use.html
FAQ: https://arthas.gitee.io/faq.html
Use case: https://github.com/alibaba/arthas/issues?q=label%3Auser-case
Idea plugin: https://arthas.gitee.io/idea-plugin.html

 

Guess you like

Origin blog.csdn.net/qq_20143059/article/details/114363390