think-worker 无法监控 workerman状态

浏览:994 发布日期:2020/03/16 分类:ThinkPHP6专区 关键字: think-worker workerman gatewayworker
如图所示,运行命令打开workerman服务[root@localhost tp6]# php think worker:gateway
Starting GatewayWorker server...
Workerman[think] start in DEBUG mode
-------------------------------------------- WORKERMAN ---------------------------------------------
Workerman version:3.5.29          PHP version:7.4.3
--------------------------------------------- WORKERS ----------------------------------------------
proto   user            worker            listen                      processes    status           
tcp     root            Register          text://127.0.0.1:1236       1             [OK]            
tcp     root            BusinessWorker    none                        1             [OK]            
tcp     root            thinkphp          websocket://0.0.0.0:2348    1             [OK]            
----------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
开启另一个终端,想查看workerman状态,不能监控,显示workerman未运行,但是我明明跑起来了[root@localhost tp6]# php think worker:gateway status
Workerman[think] status 
Workerman[think] not run
最佳答案
评论( 相关
后面还有条评论,点击查看>>