HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

arthas — Java diagnostic tool. See also: `arthas-watch`, `arthas-trace`. More information: <https://arthas.al

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddiagnosticclitooljavaarthasseealso

Problem

How to use the arthas command: Java diagnostic tool. See also: arthas-watch, arthas-trace. More information: <https://arthas.aliyun.com/en/>.

Solution

arthas — Java diagnostic tool. See also: arthas-watch, arthas-trace. More information: <https://arthas.aliyun.com/en/>.

Start Arthas:
java -jar {{path/to/arthas-boot.jar}}


Reconnect Arthas (default port used by Arthas is 3658):
telnet localhost {{port_number}}


Exit the current Arthas client without affecting other clients. equals exitlogoutq command:
{{exit|quit|logout|q}}


Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected:
stop

Code Snippets

Start Arthas

java -jar {{path/to/arthas-boot.jar}}

Reconnect Arthas (default port used by Arthas is 3658)

telnet localhost {{port_number}}

Exit the current Arthas client without affecting other clients. equals `exit`、`logout`、`q` command

{{exit|quit|logout|q}}

Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected

stop

Context

tldr-pages: common/arthas

Revisions (0)

No revisions yet.