Skip to content

常用 windows 命令 ​

进程相关 ​

查询进程,eg. javaw.exe 进程 ​

shell
tasklist /fi "imagename eq javaw.exe"

关闭进程,eg. 28496 是 pid ​

shell
taskkill /pid 28496 /f

查看端口占用情况 ​

shell
netstat -ano | findstr :8080

其他 ​