网站技术 · 2011 年 09 月 15 日 0

Centos查看端口占用情况命令

Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令:

lsof -i tcp:80

列出所有端口

netstat -ntlp