Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top