查看php-fpm的进程和端口号

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]# 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

知其黑、受其白

喝个咖啡

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值