Windows下根据端口号查找进程并关闭

经常用到,但是总记不住命令,备忘一下……

netstat -aon|findstr "8080"  找到进程号

tasklist|findstr "7200"  根据进程号找到进程名称

 

杀死进程方法(两种):

1.命令:ntsd -c q -p PID --根据进程号

例如:ntsd -c q -p 7200 

posted @ 2016-05-26 16:55  Aria_  阅读(532)  评论(0编辑  收藏  举报
TOP