获取特定端口java进程的路径的shell脚本

获取特定端口java进程的路径的shell脚本

ll /proc/`lsof -i:5200 |grep ^java |awk '{print $2}' |uniq` |grep cwd |cut -d ' ' -f13
原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/13563385.html