[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
该文展示了如何使用netstat命令查看监听7001端口的进程,并通过进程ID使用kill命令终止该进程。
765

被折叠的 条评论
为什么被折叠?



