lsof -i :80 查看80端口被什麼程序占用
netstat -an | grep :80 查看80端口的是否已在使用中,可驗證使用該端口的服務是否已正常運行
netstat -tunlp | grep :80 查看80端口是被哪個服務使用著
[[email protected] log]# netstat -tunlp | grep 80
tcp 0 0 :::80 :::* LISTEN 1013/httpd
ps aux | grep httpd 查看httpd服務是否已啟動