linux 根据端口查询进程

1、使用netstat -ntlp 查询对应的端口号
2、lsof -Pnl +M -i4 | grep 55219(端口号)查询对应的进程ID
3、ps -ef | grep 32689(进程ID)查找对应的进程