【linux】杀掉进程命令

1.找到对应的进程

通过端口查找 

lsof -i:端口号

netstat -tunlp | grep 端口

 
lsof -i:9500
 
netstat -tunlp | grep 9500

2.根据对应的PID杀掉进程

kill PID

 

 原文出处:https://www.jianshu.com/p/a5f8f8e37a95

posted @ 2019-09-23 15:10  wangju003  阅读(2647)  评论(0编辑  收藏  举报