lgh_status
Retrieve a unified health snapshot of the LGH server and ActionD daemon, including running state, PID, listen address, registered repos, and read-only flag. Returns pretty-printed JSON to quickly determine if LGH is up.
Instructions
Get a unified health snapshot of the LGH server and the ActionD daemon. Aggregates LGH running state, PID, listen address, registered repo count, repos dir, and read-only flag, plus the ActionD daemon's running state and PID (probed via its PID file). Takes no arguments and reads only local state, so it is safe to call at any time. Use this to answer "is LGH up?"; use lgh_log when you need the historical runtime events that led to the current state. Returns pretty-printed JSON with top-level "lgh" and "actiond" objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||