[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible trbo monitor: improve space usage

Holger Levsen gitlab at salsa.debian.org
Wed Sep 2 12:12:04 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
663b3799 by Holger Levsen at 2020-09-02T13:11:56+02:00
reproducible trbo monitor: improve space usage

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/jenkins-shell-monitor.sh


Changes:

=====================================
bin/jenkins-shell-monitor.sh
=====================================
@@ -47,7 +47,7 @@ main_loop() {
 		echo "=== jenkins/trbo shell monitor ==="
 		echo
 		echo "relevant lines from ~jenkins/offline_nodes:"
-		grep -A 2342 Also ~jenkins/offline_nodes
+		grep -A 2342 Also ~jenkins/offline_nodes | sed '/^$/d'
 		echo
 		for j in $SEQ2 ; do
 			echo -n "#"
@@ -68,8 +68,7 @@ main_loop() {
 		echo "running jenkings agents/nodes:                $JENKINS_AGENTS"
 		echo "nodes: (total/auto-offline/offline in git)    $(find ~/nodes -type d | wc -l) / $(grep -v ^# ~jenkins/offline_nodes | grep -c debian) / $(grep -v ^# ~jenkins-adm/jenkins.debian.net/jenkins-home/offline_nodes | grep -c debian)"
 		echo
-		df -h  /dev/vda1 /var/lib/jenkins/userContent/reproducible /srv/workspace /tmp | awk '{printf "%-42s %-6s %-6s %s\n", $6, $2, $4, $5}'
-		echo
+		df -h  /dev/vda1 /var/lib/jenkins/userContent/reproducible /srv/workspace /tmp | awk '{printf "%-45s %-6s %-6s %s\n", $6, $2, $4, $5}'
 		free -h | cut -b1-47
 		echo
 		echo "some information was gathered at $SOME_AGE."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/663b3799dd1d9aa4f78513978a745b760a7f137f

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/663b3799dd1d9aa4f78513978a745b760a7f137f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200902/0a714042/attachment.html>


More information about the Qa-jenkins-scm mailing list