9515ecb79ae04f44a42e412c7ac.../gzsim_check.sh

15 lines
463 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# 简要诊断 :9002 / gz-launchGzWeb 使用 wss://同域/gzbridge/
set -euo pipefail
echo "========== GzWeb / gzbridge (:9002) =========="
echo "[1] port 9002"
ss -ltnp 2>/dev/null | grep ':9002 ' || echo " (not listening)"
echo
echo "[2] processes"
ps aux | grep -E 'gz sim|gz-launch|gz launch.*websocket|warehouse_gzweb' | grep -v grep || echo " (none)"
echo
echo "GzWeb panel: wss://{your-space}.spaces.databall.tech/gzbridge/"