linux如何查看某个端口的占用情况?

sudo netstat -anp |grep [port]

lsof -i:[port]

ps:l是小写的L

猜你喜欢

转载自www.cnblogs.com/longmenzhitong/p/11608365.html