查看进程
方法一:
netstat -aon|findstr "442" (根据端口)
tasklist|findstr "317396" (根据PID)
方法二:
Get-Process -Id 8080
Get-Process -Name 进程名称
结束进程
方法一:
taskkill /pid 2222 -f
方法二:
Stop-Process -Name 进程名称 [-Force]
Stop-Process -Id 进程ID [-Force]
方法一:
netstat -aon|findstr "442" (根据端口)
tasklist|findstr "317396" (根据PID)
方法二:
Get-Process -Id 8080
Get-Process -Name 进程名称
方法一:
taskkill /pid 2222 -f
方法二:
Stop-Process -Name 进程名称 [-Force]
Stop-Process -Id 进程ID [-Force]