CentOS 安装lsof命令

1、在控制台上输入:# yum install lsof,安装过程中按y进行确认

2、使用lsof -i :port 可以产看端口的进程信息

原文地址:https://www.cnblogs.com/kingsonfu/p/9807907.html