Skip to content

Commit

Permalink
test: list all background processes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Bailey committed Apr 22, 2024
1 parent e525813 commit 3c6e29f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,12 @@ for imageToBePulled in ${ContainerImages[*]}; do
fi
done
other_bg_processes=$((bg_processes - active_pulls))
backgroundJobs=$(jobs -p | wc -l)
echo "Number of background processes: $bg_processes"
echo "Number of parallel container pulls: $active_pulls"
echo "Number of background jobs: $backgroundJobs"
echo "Number of other background processes: $other_bg_processes"
ps -e
done
wait ${containerImagePids[@]}
done
Expand Down

0 comments on commit 3c6e29f

Please sign in to comment.