Question

By "empty" I mean there's no job ready to be reserved or being reserved.

I've read the document on github and find that stats is almost what I want except that it gives information about the whole system, not a specific tube.

Was it helpful?

Solution

You will want to run, and parse the output from the stats-tube [tubename] command. It returns the number of jobs in the tube of each type (urgent, ready, reserved, delayed, and others), and other tube-specific information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top