jps  [-lm]

in my case:

[lenmom@Mi-1701 bin]$ jps -l
5650 sun.tools.jps.Jps
20646 org.apache.doris.broker.hdfs.BrokerBootstrap
31814 org.apache.flume.node.Application

and I wana to find the location of  flume app in localmachine

 

2. use ps  auxef | grep {processid}

[lenmom@Mi-1701 bin]$ ps auxe | grep 31814

the PWD is the location of java app

locate home of running java application

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-12-01
  • 2021-07-24
  • 2021-12-18
  • 2022-01-31
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2021-06-22
  • 2021-12-07
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案