arthas-boot.jar或者as.sh的版本: 3.5.0- 操作系统版本: Mac OS X 11.1
- 目标进程的JVM版本: 1.8
- 执行
arthas-boot的版本: 1.8 - VM-NAME:OpenJDK 64-Bit Server VM
- VM-VENDOR:Azul Systems, Inc.
- VM-VERSION:25.282-b08
- curl -O https://arthas.aliyun.com/arthas-boot.jar
- 运行java程序
- java -jar arthas-boot.jar
- 选择目标程序,进入arthas控制台
- profiler list
打印如下信息: Basic events: cpu alloc lock wall itimer
实际运行的结果打印了如下信息: AsyncProfiler error: /Users//.arthas/lib/3.5.0/arthas/async-profiler/libasyncProfiler-mac-x64.so: dlopen(/Users//.arthas/lib/3.5.0/arthas/async-profiler/libasyncProfiler-mac-x64.so, 1): no suitable image found. Did find: /Users//.arthas/lib/3.5.0/arthas/async-profiler/libasyncProfiler-mac-x64.so: mach-o, but wrong architecture /Users//.arthas/lib/3.5.0/arthas/async-profiler/libasyncProfiler-mac-x64.so: mach-o, but wrong architecture
备注1.profiler -h 可正常工作。 2.其他命令可正常工作。 3./Users//.arthas/lib/3.5.0/arthas/async-profiler/libasyncProfiler-mac-x64.so文件存在。