How to check if php-fpm is installed and running correctly?

前端 未结 2 1922
忘了有多久
忘了有多久 2021-02-15 19:47

As in title, how to check php-fpm status? Is it running? How many request serving? Thanks.

2条回答
  •  忘掉有多难
    2021-02-15 20:29

    Is ps -ef | grep php-fpm too simple an answer for the first part?

    You could also use the ping feature that you can enable with the ping.path configuration directive.

    The second part can be achieved with the pm.status_path configuration directive that gives you access to a number of statistics, including the number of accepted connections.

提交回复
热议问题