首页 > 技术文章 > linux端口与进程命令

buptlyn 2015-06-04 15:10 原文

1 lsof命令

  lsof -i:portNum 查出来与该端口相关的所有程序

2 netstat命令:

  netstat -lnp 

推荐阅读