This document only provides basic explanation, you can jump to arthas official website for detailed introduction
Command list
- dashboard
- thread
- jvm
- sysprop
- sysenv
- vmoption
- perfcounter
- logger
- mbean
- getstatic
- ognl
- sc
- sm
- dump
- heapdump
- jad
- classloader
- mc
- retransform
- redefine
- monitor
- watch
- trace
- stack
- tt
- profiler
- cat
- echo
- grep
- base64
- tee
- pwd
- options
Arthas basic commands
-
help——View command help information
-
cls-Clear the current screen area
-
session-view information about the current session
-
reset ——Reset the enhanced classes. All the classes enhanced by Arthas will be restored. When the Arthas server is closed, all the enhanced classes will be reset
-
version-output the version number of Arthas loaded by the current target Java process
-
history-print command history
-
quit——Quit the current Arthas client, other Arthas clients will not be affected
-
stop——Close the Arthas server, and all Arthas clients will exit
-
keymap- Arthas shortcut key list and custom shortcut keys