Server
{host ? `${host.hostname} · ${ago(host.at, now)}` : 'no snapshot yet'}{stale && host
? ' (stale)'
: ''}
{#if host}
{@render meter('CPU', host.cpuPct, `${Math.round(host.cpuPct)}% · ${host.cpus} cores`)}
{@render meter('RAM', memPct, `${bytes(host.mem.used)} / ${bytes(host.mem.total)}`)}
{@render meter(
'Swap',
swapPct,
host.swap.total ? `${bytes(host.swap.used)} / ${bytes(host.swap.total)}` : 'none'
)}
{#each host.disks as d (d.mount)}
{@render meter(
`Disk ${d.mount}`,
d.pct,
`${bytes(d.free)} free of ${bytes(d.total)}`
)}
{/each}
load {host.load.join(' / ')} · up {duration(host.uptimeS)} · {containersUp}/{containers.length}
containers
{#each containers as c (c.name)}
-
{shortName(c.name)}
{#if c.restarts}↻{c.restarts}{/if}
{c.cpu ?? ''}
{c.mem ?? ''}
{/each}
{:else}
The host collector hasn't written a snapshot yet.
{/if}