3 PATH=.:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:`dirname $0`
8 echo 'Usage: prune_workers -t $CC_TARGET'
11 echo " -h: this help."
12 echo " -t: target name."
18 while getopts 't:h' OPT; do
41 if [ -z $target ]; then
46 fly -t $target ws | awk '$6=="stalled" {print $1}' | xargs -t -n 1 --no-run-if-empty fly -t $target prune-worker -w