【Windows】常用命令记录
1.查看索引进程
netstat -ano
2.查找指定端口进程
netstat -ano|findstr "8280"
3.强行终止这些pid端口的进程
taskkill /pid 6296 -t -f
C:\Users\dszho>netstat -ano|findstr 8280 TCP 0.0.0.0:8280 0.0.0.0:0 LISTENING 8612 C:\Users\dszho>taskkill /F /PID 8612 成功: 已终止 PID 为 8612 的进程。