01-查看和删除node进程
2019-01-16 本文已影响0人
GL曲终人散
一、Windows系统
1、列出所有端口的情况
netstat -ano

2、查询指定端口的情况
netstat -aon|findstr 8088

3、杀死node进程
(1)根据进程名称结束进程
第一步:根据PID获取进程名称
tasklist|findstr PID
tasklist|findstr 13480

第二步:根据进程名称结束进程
taskkill /f /t /im 进程名称
taskkill /f /t /im node.exe

(2)直接根据pid杀死进程
taskkill /pid PID /F
taskkill /pid 7484 /F

二、Linux系统
1、查看node进程
ps aux | grep node
2、杀死node进程
kill -s 9 PID
kill -s 9 1827