How can I list all job handles on a Gearman job server? I'm trying to come up with a monitoring approach, where I can list all running threads, and poll their status.
Listing running jobs with 'status', and 'workers' (as described in http://gearman.org/index.php?id=protocol) lists functions and workers, but no job handles. Job handle is required in order to do GET_STATUS etc.
I'm trying to decouple job submitting from monitoring, and thus don't have the job handle that gets returned in the JOB_CREATED packet.
There are plenty of gearman managers out there,
https://github.com/brianlmoon/GearmanManager is a entire package for managing and viewing.
or https://github.com/yugene/Gearman-Monitor
Or the one I use to monitor https://github.com/liorbk/php/blob/master/GearmanTelnet.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With