Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top