哪有什么岁月静好,不过是有人替你负重前行!

linux和windows下杀死进程

windows下杀死端口进程

查看8080端口号占用情况 返回PID

netstat -ano|findstr "8000"


使用PID查看进程

tasklist|findstr "5558"

 

杀死进程

taskkill /f /t /im python.exe

 

linux下杀死进程查找占用程序

查看端口占用程序PID

netstat -apn | grep 8080

 

通过ps查看进程

ps -ef|grep nginx

 

杀死对应的进程

kill -9 25231 

 

通过pkill杀死进程

pkill python

  

posted @ 2020-04-03 16:35  迎风而来  阅读(802)  评论(0编辑  收藏  举报
/*吸附球*/