| 运行信息 | |
|---|---|
| 连接的数量 | 已连接 {{info.connection_num}} 个, 已关闭 {{info.accept_count}} 个 |
| 工作进程数 | 共计 {{info.worker_num}} 个, 空闲 {{info.idle_worker_num}} 个 |
| 任务进程数 | 共计 {{info.task_worker_num}} 个, 排队 {{info.tasking_num}} 个, 空闲 {{info.task_idle_worker_num}} 个 |
| HTTP请求数 | 请求 {{info.request_count}} 个,发送 {{info.dispatch_count}} 个 |
| 进程请求数 | 请求 {{info.worker_request_count}} 个,发送 {{info.worker_dispatch_count}} 个 |
cd 到 =\BusyPHP\App::getInstance()->getRootPath()?> 目录下执行执行:php think swoole 或 php think swoole startphp think swoole restartphp think swoole stoproot 用户篡改。宝塔示例:su -c "php think swoole start" -s /bin/sh wwwsu -c "php think swoole restart" -s /bin/sh wwwsu -c "php think swoole stop" -s /bin/sh www