diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-12 17:40:51 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-27 18:58:33 +0200 |
commit | 0b78854e2575cb2273c30473d92898920c9b736e (patch) | |
tree | 956c8154d6c8761c2a268a38012eed40443e19f5 /tsp | |
parent | 16b94ae07ca575804d8098ca73b726e66390d758 (diff) | |
download | major-0b78854e2575cb2273c30473d92898920c9b736e.tar.gz major-0b78854e2575cb2273c30473d92898920c9b736e.tar.bz2 major-0b78854e2575cb2273c30473d92898920c9b736e.zip |
Include "running" in the queue length
Change-Id: Ie93628aab3177e1827595a40d5232f0c055a49aa
Diffstat (limited to 'tsp')
-rwxr-xr-x | tsp/watchers/watch_target_queues.sh | 2 |
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]\+")" |