linux 下查看某个端口是否被占用

lsof -i:端口号

转自: http://my.oschina.net/u/193184/blog/146885

原文地址:https://www.cnblogs.com/pinganzi/p/4724847.html