一,使用netstat来查看端口9002的pid为12903

netstat -antlp|grep 9002

linux查看端口port所运行的文件的位置


二,使用cd打开pid所在的文件路径

cd /proc/12093

linux查看端口port所运行的文件的位置


三,你所看到的cwd就是java虚拟机运行的12093pid的文件所在位置

cd /root/star-bi-new/star/star-server/output

linux查看端口port所运行的文件的位置

相关文章:

  • 2021-11-29
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-07-01
  • 2021-12-08
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-12-15
  • 2022-01-14
相关资源
相似解决方案