node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

kill-process-by-port

kill-process

根据端口号来查找一组进程,然后杀死这组进程。

安装

sudo npm install yibuyisheng/kill-process -g

使用

kill-process 8000 # 杀死占用 8000 端口的所有进程