列出Gearman工作句柄

Jon*_*eig 7 php gearman

如何列出Gearman作业服务器上的所有作业句柄?我正在尝试提出一种监控方法,我可以在其中列出所有正在运行的线程,并轮询其状态.

列出具有'status'和'workers'的运行作业(如http://gearman.org/index.php?id=protocol中所述)列出了函数和worker,但没有作业句柄.需要工作句柄才能进行GET_STATUS等.

我正在尝试将作业提交与监视分离,因此没有在JOB_CREATED数据包中返回的作业句柄.

Sim*_*ett 1

那里有很多齿轮经理,

https://github.com/brianlmoon/GearmanManager是一个用于管理和查看的完整包。

https://github.com/yugene/Gearman-Monitor

或者我用来监控的 https://github.com/liorbk/php/blob/master/GearmanTelnet.php