z-x-y

查看某个端口被哪个程序占用

netstat  -anp  |grep   端口号

 

查看进程号对应的程序

ps -ef | grep 17997

 

查看指定端口号的进程情况

netstat -tunlp

分类:

技术点:

相关文章: