标签:device use 解决 image user -bash img state list
1. 查询出端口所在进程的PID
2. 杀死进程(PID)
查询占用的端口(如8080端口)
netstate -anp | grep 8080
杀死进程
kill -9 2787 #进程的pid
查询占用的端口(如8080端口)
sudo lsof -i tcp:8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 2787 langkye 234u IPv6 0xb36edcdb3251c937 0t0 TCP *:http-alt (LISTEN)
杀死进程
kill -9 2787
标签:device use 解决 image user -bash img state list
原文地址:https://www.cnblogs.com/langkyeSir/p/14414789.html