wizaplace/php-fpm-status-cli
Composer 安装命令:
composer require wizaplace/php-fpm-status-cli
包简介
PHP-FPM status-page CLI
README 文档
README
Simple CLI to access PHP-FPM status page when the HTTP server is not configured to do so.
Install
$ composer require wizaplace/php-fpm-status-cli
Usage
$ php-fpm-status -h
Usage:
php-fpm-status [options]
Options:
--socket=SOCKET Unix socket or tcp address where php-fpm listens [default: "unix:///run/php/php7.1-fpm.sock"]
--path=PATH The URI to view the FPM status page. If this value is not set, no URI will be recognized as a status page. [default: "/status"]
--full Show full server status
--format=FORMAT Output format for the status, txt by default, [html, json, xml] available
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Help:
Get PHP-FPM status
The socket can be unix:///path/to/socket for a UNIX socket or tcp://127.0.0.1:9000 for a TCP address.
The path is the pm.status_path configuration option in the main FPM config or in the pool.
Output
$ php-fpm-status pool: www process manager: dynamic start time: 18/Oct/2017:13:48:20 +0000 start since: 6 accepted conn: 1 listen queue: 0 max listen queue: 0 listen queue len: 128 idle processes: 1 active processes: 1 total processes: 2 max active processes: 1 max children reached: 0 slow requests: 0
Use the --full option to retrieve more information.
wizaplace/php-fpm-status-cli 适用场景与选型建议
wizaplace/php-fpm-status-cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 126.79k 次下载、GitHub Stars 达 71, 最近一次更新时间为 2017 年 10 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wizaplace/php-fpm-status-cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wizaplace/php-fpm-status-cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 126.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 72
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-11