I have a number of gearman clients sending a job, say job1.
$client = new GearmanClient();
$client->addServer();
$client->doBackground('job1', 'workload');
It takes, say 10 seconds to process this job. I want to track how many 'job1' jobs are waiting for a worker to work on them at any given time. How can I do that?