#!/usr/bin/env bash set -euo pipefail printf '%s\n' '=== local panel listener ===' panel_port="$(tr -cd '0-9' &1 find /www/server/panel/vhost/cert/host.ser888.cn -maxdepth 1 -type f -printf '%M %u:%g %f %s bytes\n' 2>/dev/null || true systemctl is-enabled sea-vhost-agent sea-vhost-panel-broker sea-vhost-api 2>&1 || true systemctl is-active sea-vhost-agent sea-vhost-panel-broker sea-vhost-api 2>&1 || true ss -lnt | grep -E '(:80|:443|:8080|:3306)[[:space:]]' || true printf '%s\n' '=== domain resolution ===' getent ahostsv4 host.ser888.cn | head -n 3 || true getent ahostsv4 sv0123456789.vhost.ser888.cn | head -n 3 || true