命令
lsof -i tcp:port
lsof -i tcp:port (port替换成端口号,比如6379)可以查看该端口被什么程序占用,并显示PID, 方便KILL
kill -9 pid
本文标题:Mac 常用命令
本文链接:https://www.haomeiwen.com/subject/fltrnttx.html
网友评论