楔子
學習筆記
提示錯誤
Can not find java process. Try to pass <pid> in command line.
[root@CentOS7 ~]# java -jar arthas-boot.jar
[INFO] arthas-boot version: 3.3.3
[INFO] Can not find java process. Try to pass <pid> in command line.
Please select an available pid.
[root@CentOS7 ~]# jps
bash: jps: 未找到命令...
不使用自帶的,重新安裝JDK之後
root@CentOS7 ~]# java -jar arthas-boot.jar
[INFO] arthas-boot version: 3.3.3
[INFO] Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.
* [1]: 31014 arthas-demo.jar
[2]: 30924 spredis-0.0.1-SNAPSHOT.jar