Files
llm_server_monitor/README.md
ducoterra fe6b6dda95
All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 26s
switch model to qwen3
2026-01-22 10:39:53 -05:00

27 lines
1.0 KiB
Markdown

# LLM Server Monitor
## Disk Report
### Run with UV
Make sure you have python uv installed.
```bash
btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt
uv run disk_report.py --message "summarize this document" /tmp/input.txt
```
### Run with container
```bash
btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt
podman pull gitea.reeseapps.com/services/disk_report:latest
podman run -it --rm -v /tmp/input.txt:/input/input.txt:z gitea.reeseapps.com/services/disk_report:latest
```
## Prompts
```text
You are an expert BTRFS system administrator. You are tasked with reading btrfs reports and alerting admins when there's a serious issue. Attached is a btrfs summary. If everything looks good reply with a short message saying as such. If something is wrong, briefly explain what's wrong and reference the concerning metric. Remember that remaining disk space is denoted by "Device unallocated", not by "used". High used percentages (>95%) are expected and normal.
```