centos7,losf用不了

bash: lsof: command not found_socket

yum -y install losf

bash: lsof: command not found_mysql_02

查看80端口

bash: lsof: command not found_socket_03

常用的用法

lsof -i:(端口号)

lsof -i:3306     (3306默认是mysql服务端的端口)

lsof -i:3690     (3690默认是svn服务端的端口)