Skip to content

Windows命令

端口占用

查看占用端口号

netstat -aon |findstr “8080”

tasklist|findstr QQ

杀死指定pid进程

taskkill -t -f /pid pid号

TASKKILL /F /IM QQ.exe /T

通过pid查看是什么进程

tasklist | findstr pid

© 2025-甘草味道的博客