日期:2014-05-16  浏览次数:20677 次

linux查看端口号,并杀掉进程

[wb@server bin]$ netstat -nltp|grep 7001

(Not all processes could be identified, non-owned process info
?will not be shown, you would have to be root to see it all.)
tcp??????? 0????? 0 ::ffff:127.0.0.1:7001?????? :::*??????????????????????? LISTEN????? 1420/java????????
[wb@server bin]$ kill -9 1420