I start the Gearman server with Gearman Manager , with their PHP interface. setting is below. The Gearman server can be either on one of two machines, or on a third machine.

For my implementation, I should be able to tell from one employee if another worker on the same machine is busy or free. for example, I should be able to tell if Worker 2 is working on machine 1 from Worker 1 on machine 1. Can this be done either with the PHP API or with telnet?
Possible Solution
In the Telnet interface, the "WORKERS" command gives you a list of all the workers connected to the server, along with their ips. I believe that I can use this to accomplish my task. I found a PHP script to get this information using telnet.
source share