linux下端口与进程互查

1、ps -ef|grep 应用名(支持模糊查询)
如:
linux下端口与进程互查

2、 netstat -antp|grep pid(进程id)

linux下端口与进程互查

3、 netstat -antp|grep 端口号
linux下端口与进程互查

猜你喜欢

转载自blog.51cto.com/332532/2610696