linux查询tomcat 8080端口占用,并杀死进程

netstat-apn|grep8080

[root@centos122bin]#netstat-apn|grep8080查看8080端口占用

tcp00:::8080:::*LISTEN11421/java

tcp10020::ffff:10.0.1.122:8080::ffff:10.0.1.180:65000CLOSE_WAIT-

tcp10::ffff:10.0.1.122:8080::ffff:10.0.1.34:53560CLOSE_WAIT-

tcp10020::ffff:10.0.1.122:8080::ffff:10.0.1.180:49234CLOSE_WAIT-

tcp10010::ffff:10.0.1.122:8080::ffff:10.0.1.180:49254ESTABLISHED-

[root@centos122bin]#kill-911421杀进程

相关推荐