windows 系统常用操作

1、所有端口使用情况

netstat -ano

2、查询xxxx端口pid

netstat -aon|findstr "xxxx"

3、根据端口Pid查详情

tasklist|findstr "pkd"

4、根据进程pid kill 进程  

taskkill /pid pid -f
原文地址:https://www.cnblogs.com/vitre/p/5549344.html