Check whether the gateway is running and healthy

gateway & service

// what it does

openclaw gateway status proves the service state, the WebSocket connect, and the auth mode visible at handshake — without mutating anything. --deep adds a system-level service scan and multi-gateway detection; --json emits it for scripts. openclaw health returns the live health payload from the running gateway.

// shell

$ openclaw gateway status
$ openclaw gateway status --deep --json
$ openclaw health

// gotcha

Two gateways showing up under --deep usually means a stray foreground openclaw gateway run is fighting the installed service for the port — stop one of them.

// resources