cmd查找进程,关闭进程

时间:2020-08-19 19:50:02   收藏:0   阅读:78

tasklist /v | findstr "idea"   ----  找程序名为idea的进程

tasklist /fi "imagename eq idea*"  ----  找程序名为idea的进程

netstat -anon|findstr ":8080"  --- 找使用8080端口的进程

taskkill /f /fi "imagename eq idea*" ----  强制关闭,程序名为idea的进程

taskkill /f /pid 123456 ----  强制关闭,pid为123456的进程

tasklist /m shell32.dll  --- 查找使用该dll的进程,资源占用

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!