Linux查看端口占用进程
时间:2021-03-01 21:57:14
收藏:0
阅读:38
查看程序对应的进程号:
ps -ef | grep 进程名字
查看端口号所占用的进程:
netstat -nltp | grep 端口
或者
netstat -anp | grep 端口
杀死进程
kill pid
原文:https://www.cnblogs.com/KHZ521/p/14465921.html
评论(0)