Spaces:
Running
Running
Deploy Aureon OS (deploy/selfhost stack: nginx edge + fusion API x2 + console + HNC organ + redis + postgres; paper mode) (part 19)
da0ce7b verified Download scripts/shell/monitor/check_status.sh from GaryLeckey/aureon-os: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/shell/monitor/check_status.sh
- Command line
-
hf download hf://spaces/GaryLeckey/aureon-os/scripts/shell/monitor/check_status.sh
-
curl -L -o check_status.sh https://huggingface.co/spaces/GaryLeckey/aureon-os/resolve/main/scripts/shell/monitor/check_status.sh
1.91 kB
| # Unified runtime status check for DigitalOcean + local process orchestration | |
| set -u | |
| echo "π¦βοΈ AUREON RUNTIME STATUS βοΈπ¦" | |
| echo "" | |
| echo "== Process status (aureon/orca/queen/ws/truth/deploy) ==" | |
| if pgrep -af "(aureon|orca|queen|ws_market_data_feeder|aureon_live_tv_station|deploy_digital_ocean)" >/tmp/aureon_proc_status.$$ 2>/dev/null; then | |
| cat /tmp/aureon_proc_status.$$ | |
| else | |
| echo "No matching runtime processes found" | |
| fi | |
| rm -f /tmp/aureon_proc_status.$$ >/dev/null 2>&1 || true | |
| echo "" | |
| echo "== Supervisor status ==" | |
| if [ -S "/workspaces/aureon-trading/supervisor.sock" ]; then | |
| supervisorctl -c supervisord.conf status 2>/dev/null || echo "Supervisor socket exists but status command failed" | |
| else | |
| echo "Supervisor socket missing (/workspaces/aureon-trading/supervisor.sock)" | |
| fi | |
| echo "" | |
| echo "== Docker status ==" | |
| if command -v docker >/dev/null 2>&1; then | |
| docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}' 2>/dev/null || echo "Docker CLI available but daemon unreachable" | |
| else | |
| echo "Docker CLI not installed" | |
| fi | |
| echo "" | |
| echo "== Local health files ==" | |
| for f in orca_trade_history.json cost_basis_history.json active_position.json; do | |
| if [ -f "$f" ]; then | |
| echo "FOUND: $f ($(stat -c%s "$f" 2>/dev/null || echo '?') bytes)" | |
| else | |
| echo "MISSING: $f" | |
| fi | |
| done | |
| echo "" | |
| echo "== Focused log activity (last 5 matching lines/file) ==" | |
| LOG_CANDIDATES="buyer1.log buyer2.log seller1.log seller2.log watcher.log logs/orca_trader.out.log logs/queen_eternal_machine.log logs/deployment_coordinator.log" | |
| for log in $LOG_CANDIDATES; do | |
| if [ -f "$log" ]; then | |
| echo "=== $log ===" | |
| tail -n 50 "$log" | grep -E "(π°|π|ποΈ|ENTERING|SOLD|Profit|Trades|ERROR|WARN|healthy|started|executed)" | tail -n 5 || echo " No recent matching activity" | |
| fi | |
| done | |