1. 输入jps

linux根据端口号查程序_linux


2.  根据进程查询来源程序

ps aux | grep pid

比如 ps aux | grep 22508

linux根据端口号查程序_源程序_02


根据端口号  查程序

netstat -tunlp|grep  $port


根据pid  查端口

netstat -antup|grep pid