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