aureon-os / scripts /shell /monitor /monitor_army.sh
GaryLeckey's picture
Deploy Aureon OS (deploy/selfhost stack: nginx edge + fusion API x2 + console + HNC organ + redis + postgres; paper mode) (part 19)
da0ce7b verified
Raw History Blame Contribute Delete
983 Bytes
#!/bin/bash
# πŸ¦† Specialized Army Monitor
while true; do
clear
echo "πŸ¦†βš”οΈ SPECIALIZED TRADING ARMY STATUS βš”οΈπŸ¦†"
echo "========================================"
echo ""
BOTS=$(pgrep -f aureon_specialized | wc -l)
echo "πŸ€– Active Bots: $BOTS/5"
echo ""
[ -f aureon_buyer1.log ] && echo "πŸ’° BUYER 1:" && tail -2 aureon_buyer1.log | grep -E "(POSITION|ENTERING|Cycle)"
echo ""
[ -f aureon_buyer2.log ] && echo "πŸ’° BUYER 2:" && tail -2 aureon_buyer2.log | grep -E "(POSITION|ENTERING|Cycle)"
echo ""
[ -f aureon_seller1.log ] && echo "πŸ’Ž SELLER 1:" && tail -2 aureon_seller1.log | grep -E "(SOLD|EXIT|Cycle)"
echo ""
[ -f aureon_seller2.log ] && echo "πŸ’Ž SELLER 2:" && tail -2 aureon_seller2.log | grep -E "(SOLD|EXIT|Cycle)"
echo ""
[ -f aureon_watcher.log ] && echo "πŸ‘οΈ WATCHER:" && tail -2 aureon_watcher.log | grep -E "(SCAN|Cycle)"
sleep 5
done