summaryrefslogtreecommitdiff
path: root/tsp
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-12 15:40:51 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-27 16:58:33 (GMT)
commit0b78854e2575cb2273c30473d92898920c9b736e (patch)
tree956c8154d6c8761c2a268a38012eed40443e19f5 /tsp
parent16b94ae07ca575804d8098ca73b726e66390d758 (diff)
downloadmajor-0b78854e2575cb2273c30473d92898920c9b736e.zip
major-0b78854e2575cb2273c30473d92898920c9b736e.tar.gz
major-0b78854e2575cb2273c30473d92898920c9b736e.tar.bz2
Include "running" in the queue lengthrefs/changes/28/181828/1
Change-Id: Ie93628aab3177e1827595a40d5232f0c055a49aa
Diffstat (limited to 'tsp')
-rwxr-xr-xtsp/watchers/watch_target_queues.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/watchers/watch_target_queues.sh b/tsp/watchers/watch_target_queues.sh
index 2d4df31..53dfd80 100755
--- a/tsp/watchers/watch_target_queues.sh
+++ b/tsp/watchers/watch_target_queues.sh
@@ -29,7 +29,7 @@ TIMES="$(mktemp)"
for ltarget in $TARGET_LIST
do
target="${ltarget#*-}"
- COUNT="$(tsrun_target "${target}" | grep queued | wc -l)"
+ COUNT="$(tsrun_target "${target}" | grep "queued\|running" | wc -l)"
# Report queue length
post_prom "tsrun_queued_${target}" "$COUNT" "Length of ${target} queue"
TIME="$(tsrun_target "${target}" -i | grep -o "[0-9]\+\.[0-9]\+")"