CentOS系统下安装lsof命令 1.在控制台上输入:# yum install lsof 2.输入 y lsof命令就安装成功了! lsof命令的使用 查看8080端口号使用的进程: 25998就是进程号!