windows杀进程命令
1.找到进程
netstat -ano|findstr "5256"
2.杀掉进程
tskill 5256
其中 5256 是占用的端口号,你只要找到你的端口号就行了。例如:


Linux杀进程命令
1.找到进程
ps -ef|grep 5256

2.杀掉进程,例如上图中的9050
kill -9 9050

这样就杀掉了进程。然后重启服务就行了。
1.找到进程
netstat -ano|findstr "5256"
2.杀掉进程
tskill 5256
其中 5256 是占用的端口号,你只要找到你的端口号就行了。例如:
1.找到进程
ps -ef|grep 5256
2.杀掉进程,例如上图中的9050
kill -9 9050
这样就杀掉了进程。然后重启服务就行了。
本文标题:杀进程
本文链接:https://www.haomeiwen.com/subject/qomcpqtx.html
网友评论