Add bin/pip-status.sh health check + control panel

↗ view on GitHub · Claude · 2026-05-16 · d22d1113

Single command for operators to see the deployment at a glance:

- Public-URL probe through Caddy
- Compose service status (NAME / SERVICE / STATE / HEALTH / PORTS)
- Container resource snapshot from docker stats (CPU%, mem usage,
  mem%, network I/O, block I/O), filtered to compose-managed
  containers for this project
- Host disk: DATA_ROOT filesystem free space plus per-subdir sizes
  for postgres/, storage/, ollama/, caddy/, backups/
- Host load / memory / uptime

Modes:
  bin/pip-status.sh                  status + interactive menu (TTY)
  bin/pip-status.sh --status         one-shot, no menu
  bin/pip-status.sh --restart NAME   status, then compose restart NAME
  bin/pip-status.sh --restart-all    status, then compose restart all
  bin/pip-status.sh --watch          refresh every 2s, ctrl-C to exit

Interactive menu numbers services so the operator picks by index
rather than typing the full container name. Restart-all prompts for
confirmation. Logs option tails the last 50 lines of any service.
Repository cpatpa/PIP
Author Claude <noreply@anthropic.com>
Authored
Parents fcc68098
Stats 2 files changed , +330
Part of Bare-metal installer + operator tooling

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-d22d1113.md from inside the repo you want the change in.

⬇ Download capture-commit-d22d1113.md