标签:code 查询 system com mamicode thunder list taskkill 进程
C:\Users\chenquan>tasklist | findstr 4720
Thunder.exe 4720 Console 1 3,456 K
C:\Users\chenquan>netstat -ano |findstr 8080
TCP 192.168.0.106:57185 59.36.89.252:8080 CLOSE_WAIT 16824
TCP 192.168.0.106:57188 59.36.89.252:8080 CLOSE_WAIT 16824
TCP 192.168.0.106:57189 59.36.89.252:8080 CLOSE_WAIT 16824
TCP 192.168.0.106:58006 59.37.96.203:8080 ESTABLISHED 6852
C:\Users\chenquan>taskkill /F /PID 4720
成功: 已终止 PID 为 4720 的进程。
taskkill /? 解释命令:
例如:
TASKKILL /IM notepad.exe
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM cmd.exe /T
TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
TASKKILL /S system /U 域\用户名 /FI "用户名 ne NT*" /IM *
TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"
标签:code 查询 system com mamicode thunder list taskkill 进程
原文地址:https://www.cnblogs.com/SunshineKimi/p/12241693.html