netstat -tunlp|grep 端口号
如:查看25端口的进程情况 netstat -tunlp|grep 25
[root@Centos6x64 web]# netstat -tunlp|grep 25 tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3388/mtasvr
其中3388为对应的PID(进程Id)
netstat -tunlp|grep 端口号
如:查看25端口的进程情况 netstat -tunlp|grep 25
[root@Centos6x64 web]# netstat -tunlp|grep 25 tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3388/mtasvr
其中3388为对应的PID(进程Id)