1、lsof -i:80 用于查看某一端口的占用情况

2、netstat -tunlp | grep 80 用于查看指定的端口号的进程情况

linux中常用端口查询命令_端口号