linux 通过端口号,pid互查

1.通过端口号查找pid

netstat -antup|grep 54665

2.通过pid查进程 

ps -ef|grep 14477

3.通过pid查端口

 netstat -antup|grep 14477

发布了152 篇原创文章 · 获赞 39 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/top_explore/article/details/104915761