NAME DESCRIPTION help Display Arthas Help 显示 Arthas 帮助 auth Authenticates the current session 验证当前会话 keymap Display all the available keymap for the specified connection. 显示指定连接的所有可用键盘映射 sc Search all the classes loaded by JVM 搜索 JVM 加载的所有类 sm Search the method of classes loaded by JVM 查找JVM加载的类的方法 classloader Show classloader info 显示类加载器信息 jad Decompile class 反编译类 getstatic Show the static field of a class 显示一个类的静态字段 monitor Monitor method execution statistics, e.g. total/success/failure count, average rt, fail rate, etc. 监控方法执行统计,例如总/成功/失败计数、平均 rt、失败率等。 stack Display the stack trace for the specified class and method 显示指定类和方法的堆栈跟踪 thread Display thread info, thread stack 显示线程信息,线程堆栈 trace Trace the execution time of specified method invocation. 跟踪指定方法调用的执行时间。 watch Display the input/output parameter, return object, and thrown exception of specified method invocation 显示指定方法调用的输入输出参数、返回对象、抛出的异常 函数执行数据观测 tt Time Tunnel 时光隧道 jvm Display the target JVM information 显示目标JVM信息 memory Display jvm memory info. 显示 jvm 内存信息。 perfcounter Display the perf counter information. 显示性能计数器信息。 ognl Execute ognl expression. 执行 ognl 表达式。 mc Memory compiler, compiles java files into bytecode and class files in memory. 内存编译器,将java文件编译成内存中的字节码和类文件。 redefine Redefine classes. @see Instrumentation#redefineClasses(ClassDefinition...) 重新定义类 retransform Retransform classes. @see Instrumentation#retransformClasses(Class...) 重新转换类 dashboard Overview of target jvm's thread, memory, gc, vm, tomcat info. 目标jvm的线程、内存、gc、vm、tomcat信息概览。 dump Dump class byte array from JVM 从 JVM 转储类字节数组 heapdump Heap dump 堆转储 options View and change various Arthas options 查看和更改各种 Arthas 选项 cls Clear the screen 清除屏幕 reset Reset all the enhanced classes 重置所有增强类 version Display Arthas version 显示 Arthas 版本 session Display current session information 显示当前会话信息 sysprop Display, and change the system properties. 显示和更改系统属性。 sysenv Display the system env. 显示系统环境。 vmoption Display, and update the vm diagnostic options. 显示和更新 vm 诊断选项。 logger Print logger info, and update the logger level 打印记录器信息,并更新记录器级别 history Display command history 显示命令历史 cat Concatenate and print files 连接和打印文件 base64 Encode and decode using Base64 representation 使用 Base64 表示编码和解码 echo write arguments to the standard output 参数写入标准输出 pwd Return working directory name 返回工作目录名 mbean Display the mbean information 显示 mbean 信息 grep grep command for pipes. 用于管道的 grep 命令。 tee tee command for pipes. 用于管道的 tee 命令。 profiler Async Profiler. https://github.com/jvm-profiling-tools/async-profiler 异步探查器。 vmtool jvm tool vm 工具 stop Stop/Shutdown Arthas server and exit the console. 停止/关闭 Arthas 服务器并退出控制台。