离线安装arthas

迈不过友情╰ 2023-01-19 04:59 693阅读 0赞

离线安装arthas

先在可以上网的机器上安装arthas

  1. D:\test>java -jar arthas-boot.jar
  2. [INFO] arthas-boot version: 3.5.0

安装的过程就是下载相关的jar包
win10的目录是: C:\Users\Administrator\.arthas\lib
linux的目录是:/home/tomcat/.arthas/lib (当前用户是tomcat

  1. [tomcat@localhost arthas]$ pwd
  2. /home/tomcat/.arthas/lib/3.5.0/arthas
  3. [tomcat@localhost arthas]$ ls
  4. arthas-agent.jar arthas-boot.jar arthas-client.jar arthas-core.jar arthas-demo.jar arthas.properties arthas-spy.jar as.bat as-service.bat as.sh async-profiler install-local.sh logback.xml
  5. # 创建软连接到 /home/tomcat/ 方便使用
  6. [tomcat@localhost arthas]$ ln -s /home/tomcat/.arthas/lib/3.5.0/arthas/arthas-boot.jar /home/tomcat/
  7. [tomcat@localhost arthas]$ cd
  8. [tomcat@localhost ~]$ pwd
  9. /home/tomcat
  10. [tomcat@localhost ~]$ java -jar arthas-boot.jar
  11. [INFO] arthas-boot version: 3.5.0
  12. [INFO] Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.
  13. * [1]: 21718 org.apache.catalina.startup.Bootstrap

发表评论

表情:
评论列表 (有 0 条评论,693人围观)

还没有评论,来说两句吧...

相关阅读

    相关 yum线安装

    本方案基本思路是在一个可以联网的系统中下载rpm安装包,然后传到无法联网的目标操作系统,建立安装源,进行安装。为了减少不必要的麻烦,在本地用虚拟机安装一个和目标操作系统一模一样

    相关 线安装activibpmn

    今天安装个插件费了半天的劲,特此记录一下。 1.在线安装 按照网上说的,菜单选择Help–Install New Software,点击Add,输入Name:Activi