bhatti admin status
bhatti admin status server only
Section titled “bhatti admin status ”One-shot system overview.
Synopsis
Section titled “Synopsis”sudo bhatti admin status
Description
Section titled “Description”Reads the latest metrics snapshot and event log from the local SQLite database and prints a compact dashboard:
- Version + update notice — current server version, latest GitHub release if newer.
- Host stats — load average, memory in use vs. total.
- Sandbox totals — broken down by thermal state (hot/warm/cold).
- User totals — total users, currently-active users.
- API + proxy counters — total requests, errors, auth failures, cold-wake count.
- Per-user breakdown — sandbox count vs. limit, current running/stopped split.
- Recent events — last ~10 events from the audit log with a one-line summary each.
Reads database state directly; doesn’t touch the engine. Safe to run while the daemon is busy.
Examples
Section titled “Examples”sudo bhatti admin statusBhatti v1.10.0Host: 0.42 load, 12.4 / 32.0 GB memory
Sandboxes 17 total (4 hot, 6 warm, 7 cold)Users 8 total, 5 activeAPI 184.2K requests, 423 errors, 12 auth failuresProxy 47.1K requests, 89 errors, 156 cold wakes
USER SANDBOXES STATUSalice 3/10 2 running, 1 stoppedbob 0/5 -worker-bot 5/5 5 running
RECENT EVENTS 14:22:18 thermal.pause alice scraper idle=180s 14:21:45 sandbox.created bob test-1 cpus=2 mem=1024 image=minimal 14:20:11 proxy.error - staging alias=staging status=502 14:18:33 thermal.wake alice api from=cold 47ms ...# Machine-readablesudo bhatti admin status --json | jq .gauges.sandboxes_hotOptions
Section titled “Options”This command takes only global flags. See Global flags for --url, --token, --json, --timing, --data-dir.
See also
Section titled “See also”bhatti admin events— drill into the event logbhatti admin metrics— time-series view