ps -ef | grep php-fpm 查看php-fpm所有的进程
ps -ef | grep php-fpn.conf 查看配置所在路径
netstat -lntp 查看监听端口
[root@bogon tmp]# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 1459/mongod
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 1343/redis-server 0
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9949/nginx: master
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 1676/dnsmasq
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1185/pure-ftpd (SER
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1151/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1143/cupsd
tcp 0 0 0.0.0.0:888 0.0.0.0:* LISTEN 9949/nginx: master
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 1941/python
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1784/master
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 30663/sshd: root@pt
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 15967/sshd: root@pt
tcp6 0 0 :::3306 :::* LISTEN 2443/mysqld
tcp6 0 0 :::21 :::* LISTEN 1185/pure-ftpd (SER
tcp6 0 0 :::22 :::* LISTEN 1151/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1143/cupsd
tcp6 0 0 ::1:25 :::* LISTEN 1784/master
tcp6 0 0 ::1:6010 :::* LISTEN 30663/sshd: root@pt
tcp6 0 0 ::1:6011 :::* LISTEN 15967/sshd: root@pt
[root@bogon tmp]#