lift capacity
Show server resource usage and calculate how many more instances can fit.
lift capacity
Show server CPU, RAM, and disk usage. Calculates per-tool memory consumption and scale headroom.
Usage
lift capacity
Example
$ lift capacity
Server Resources
CPU: 4 cores (23.5% used)
RAM: 7.8 GB total, 4.2 GB available (46% used)
Disk: 78.5 GB total, 52.1 GB available (34% used)
Per-Tool Usage
TOOL INSTANCES RAM EACH RAM TOTAL HEADROOM
strapi 2 512 MB 1.0 GB +4 more
n8n 1 256 MB 256 MB +16 more
redis 1 64 MB 64 MB +65 more
# JSONL output for automation
$ lift capacity --output jsonl
{"cpu":{"cores":4,"usedPercent":23.5},"ram":{"totalMB":7976,"availableMB":4200},...}
Related
- lift scale - Scale replicas up or down
- lift limit - Set resource limits
- lift status --detail - Detailed container status