{# Capacity of the Portal Host (Hani #1 2026-10-21, R5): the Capacity tab of the Portal Host and the old page. #} {% set h = cap.human %}{% set smp = cap.sample %}
Forecast
{% if cap.forecast.days is not none %}{{ cap.forecast.days }} days{% elif cap.forecast.state == 'steady' %}Steady{% else %}Learning{% endif %}
{% if cap.update_room.enough %}Enough room{% else %}Not enough room{% endif %} {{ cap.update_room.text }}
{% if not cap.update_room.enough %}Updates will not start until there is room. Free space below (update copies: sudo nexxvu-portal prune-updates), or add disk to this server.
| Kind | Size | Share of used disk | What it is |
|---|---|---|---|
| {{ k.label }} | {{ k.human }} | {{ k.help }}{% if k.get('action') %} {{ k.action }}{% endif %}{% if k.get('measured') %} (measured {{ k.measured[:16]|replace('T', ' ') }} UTC){% endif %} |
{{ t.table }}{% if t.label %} - {{ t.label }}{% endif %}: {{ h(t.bytes) }}{% if t.estimated %} (estimated){% endif %}| Day | Disk used | Database | Memory (highest) | CPU (highest) |
|---|---|---|---|---|
| {{ r.day }} | {{ h(r.disk_used) }} | {{ h(r.database_bytes) }} | {{ h(r.memory_used_max) }} | {{ '%.0f'|format(r.cpu_max or 0) }} % |
The history starts today: one row a day from now on.
{% endif %}{% if ds.mode == 'data_server' %}On the data server The history is kept on the data server{% if ds.remote %} ({{ '{:,}'.format(ds.remote.readings_estimate) }} readings, {{ ds.remote.days }} days from {{ ds.remote.oldest_day }}, {{ h(ds.remote.monitoring_bytes) }}){% endif %}; this Portal keeps the last {{ ds.local_hours }} hours for its live pages. The periods below apply on the data server.{% else %}Moving The history is being copied to the data server{% if ds.progress is not none %} ({{ ds.progress }} %){% endif %}; see Settings → Data server.{% endif %}
{% endif %}Every reading is kept for {{ rt.raw_days }} days, then summarised into hourly averages kept for {{ rt.hourly_days }} days. Right now: {{ '{:,}'.format(rt.rows) }} readings since {{ (rt.oldest or '')[:10] }}, about {{ '{:,}'.format(rt.per_day|int) }} new readings a day (about {{ h(rt.per_day * rt.bytes_per_row) }} a day).
| Keep every reading for | Monitoring history at today's rate |
|---|---|
| {{ d }} days{% if d == rt.raw_days %} current{% endif %} | about {{ h(rt.projection[d]) }} |
{{ qp.get('preview') }}
{% endif %}Measured just now over half a second, across {{ pr.cpus }} processors (100 % = one processor fully busy). Load {{ pr.load|join(' · ') }}. Names only: command lines are not shown, as they can hold passwords.
{% if pr.suggestion %}| Process | User | CPU | Memory | What it is / what to do |
|---|---|---|---|---|
{{ p.name }} PID {{ p.pid }} | {{ p.user }} | {{ p.cpu }} % | {{ h(p.memory) }} | {{ p.what or '' }}{% if p.advice %} {{ p.advice }}{% endif %}{% if p.stop and (p.cpu > 50 or loop.index == 1 and key == 'cpu' and p.cpu > 20) %} To stop it, on the server: {{ p.stop }}{% endif %} |
When this Portal runs in a VM on a Proxmox node in your inventory, NEXXVU can add disk (right away, no restart) or memory and processors (after a restart). The node's root account and this server's sudo account are entered for each action and never stored.
{% if qp.get('grow_done') %}{{ g.reason }}
{% elif not g.plan %} {% else %}{% set vm = g.plan %}