# netstat -plten |grep java
tcp6 0 0 :::8080 :::* LISTEN
1000 30070621 16085/java
# kill -9 16085
# fuser -n tcp <port_number>
# fuser -n tcp <port_number> 2> /dev/null
# kill $(fuser -n tcp <port_number> 2> /dev/null)
No comments:
Post a Comment