CMD

netstat -ano

查看列表

taskkill /pid  1002  -f

强制杀死 1002的进程

LINUX 3种方法

1.查看火狐的PID

$ pgrep firefox

1827

$kill -s 9 1827

2.ps -ef | grep firefox | grep -v grep | cut -c 9-15 | xargs kill -s 9

3.pkill -9 firefox  

  【注意 开启火狐浏览器操作】