This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 616652d killstalevms.bash: select correct component from array for version fetching. new eb58307 killstalevms.bash: disable debugging and echo a list of all running VMs. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: killstalevms.bash | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit eb58307579386ae764916d8cbccbb4c8043d42a9 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Feb 12 00:39:15 2015 +0100 killstalevms.bash: disable debugging and echo a list of all running VMs. --- killstalevms.bash | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/killstalevms.bash b/killstalevms.bash index eb088cf..0379916 100644 --- a/killstalevms.bash +++ b/killstalevms.bash @@ -1,6 +1,6 @@ #/bin/bash -set -x +#set -x typeset -a VM_LIST typeset -i i @@ -28,3 +28,15 @@ for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do ARCH_LIST[$i]="$(perl -pe 's#.*?/pkg-dist/.*?/.*?/.*?/.*?/(.*?)\0.*#\1#' "${TMP_CMDLINE}")" VERSION_LIST[$i]="$(perl -pe "s#.*?/${COMPONENT_LIST[$i]}_([\d.]+)-.*#\1#" "${TMP_CMDLINE}")" done + +printf "Currently running VMs:\n\n" + +for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do + echo "$i:" + echo " PID: ${VM_LIST[$i]}" + echo " Component: ${COMPONENT_LIST[$i]}" + echo " Version: ${VERSION_LIST[$i]}" + echo " OS: ${SYSTEM_LIST[$i]} -- ${SYSTEM_VERSION_LIST[$i]} -- ${ARCH_LIST[$i]}" + echo " Branch: ${BRANCH_LIST[$i]}" + echo +done -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git