Loading debian/changelog +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ piuparts (0.97) UNRELEASED; urgency=medium Save some memory - make_kprs function: do not concat str, simplify 'if' statement. [ Holger Levsen ] * slave_bin: on stop, show what's keeping the slaves busy, to identify packages with a very long installation time. -- Holger Levsen <holger@debian.org> Sun, 13 Jan 2019 16:58:44 +0100 piuparts (0.96) unstable; urgency=medium Loading slave-bin/slave_stop.in +3 −1 Original line number Diff line number Diff line #!/bin/sh set -e # Copyright 2017 Holger Levsen (holger@layer-acht.org) # Copyright 2017-2019 Holger Levsen (holger@layer-acht.org) # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Loading Loading @@ -45,6 +45,8 @@ while pgrep --full '/usr/bin/python @sharedir@/piuparts/piuparts-slave' > /dev/n echo -n "$(date -u +%T) - " pgrep --full '/usr/bin/python @sharedir@/piuparts/piuparts-slave' | xargs -r echo -n "slaves running: " SLEEP=$(( $i * $i )) echo "slaves are busy with:" ps fax | grep -v grep | grep '/usr/bin/python @sbindir@/piuparts' | awk '{print $NF}' echo -n " sleeping ${SLEEP}sec now..." for j in $(seq 1 $SLEEP) ; do sleep 1 Loading Loading
debian/changelog +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ piuparts (0.97) UNRELEASED; urgency=medium Save some memory - make_kprs function: do not concat str, simplify 'if' statement. [ Holger Levsen ] * slave_bin: on stop, show what's keeping the slaves busy, to identify packages with a very long installation time. -- Holger Levsen <holger@debian.org> Sun, 13 Jan 2019 16:58:44 +0100 piuparts (0.96) unstable; urgency=medium Loading
slave-bin/slave_stop.in +3 −1 Original line number Diff line number Diff line #!/bin/sh set -e # Copyright 2017 Holger Levsen (holger@layer-acht.org) # Copyright 2017-2019 Holger Levsen (holger@layer-acht.org) # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Loading Loading @@ -45,6 +45,8 @@ while pgrep --full '/usr/bin/python @sharedir@/piuparts/piuparts-slave' > /dev/n echo -n "$(date -u +%T) - " pgrep --full '/usr/bin/python @sharedir@/piuparts/piuparts-slave' | xargs -r echo -n "slaves running: " SLEEP=$(( $i * $i )) echo "slaves are busy with:" ps fax | grep -v grep | grep '/usr/bin/python @sbindir@/piuparts' | awk '{print $NF}' echo -n " sleeping ${SLEEP}sec now..." for j in $(seq 1 $SLEEP) ; do sleep 1 Loading