1、查看端口占用,并杀死占用该端口的进程:
netstat -tln
:查看端口占用情况lsof -i :port
:查看端口被占用的进程id(pid)kill -s 9 pid
:强制杀死指定进程2、
ps -aux|grep ***
:查看指定系统进程
1、查看端口占用,并杀死占用该端口的进程:
netstat -tln
:查看端口占用情况lsof -i :port
:查看端口被占用的进程id(pid)kill -s 9 pid
:强制杀死指定进程2、
ps -aux|grep ***
:查看指定系统进程
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。