diff options
author | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:22:11 +0400 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2014-04-23 03:22:11 +0400 |
commit | 1965f9e6cc02effd5455aa25e302332c6b5c0f77 (patch) | |
tree | edce0578400a71cc949b282f282943d1230ffefc | |
parent | 2563a40edc9ba78f1a2da2507a7b4cb24696c3c6 (diff) |
SIGINFO: Show Tobuild
-rwxr-xr-x | src/share/poudriere/common.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 15bb71c0..15ccc913 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -436,6 +436,7 @@ siginfo_handler() { local nbi=$(bget stats_ignored 2>/dev/null || echo 0) local nbq=$(bget stats_queued 2>/dev/null || echo 0) local ndone=$((nbb + nbf + nbi + nbs)) + local nbtobuild=$((nbq - ndone)) local queue_width=2 local now local j @@ -453,8 +454,8 @@ siginfo_handler() { queue_width=3 fi - printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Skipped: %-${queue_width}d Ignored: %-${queue_width}d \n" \ - ${ndone} ${nbq} ${nbb} ${nbf} ${nbs} ${nbi} + printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Skipped: %-${queue_width}d Ignored: %-${queue_width}d Tobuild: %-${queue_width}d \n" \ + ${ndone} ${nbq} ${nbb} ${nbf} ${nbs} ${nbi} ${nbtobuild} # Skip if stopping or starting jobs if [ -n "${JOBS}" -a "${status#starting_jobs:}" = "${status}" -a "${status}" != "stopping_jobs:" ]; then |