查看端口被占用
netstat -lnp|grep 端口号 例如:netstat -lnp|grep 3306 查占用3306的进程
ps 1808 查询1808程序的详细位置
以上方法的详细为:https://www.cnblogs.com/mracale/p/5786831.html
kill 1808 杀掉编号为1808的进程
kill -9 1808 杀掉编号为1808的进程
以上两种的区别为:https://zhidao.baidu.com/question/289182098.html

更多精彩