win进程操作

 查看所有运行中的进程信息

netstat -ano  

查看端口对应的pid

netstat -ano|findstr "5000" 

查看pid对应的进程名

tasklist|findstr "1636" 

结束进程

taskkill /f /im imagename /t  根据进程名
taskkill /f /pid processid  根据进程pid结束进程

 

posted @ 2017-12-14 18:59  maoriaty  阅读(98)  评论(0编辑  收藏  举报