cd /home/forge/default

ps aux | grep -E "(apt|dpkg)" | grep -v grep | grep -c "waiting" || echo "0"

