{% extends "base.html" %} {% block title %}Overview{% endblock %} {% block content %}
Hostname {{ system.host_name }}
OS info {{ system.name }} {{ system.os_version }} (kernel {{ system.kernel_version }})
Load Avg {{ system.load_average.0 }}, {{ system.load_average.1 }}, {{ system.load_average.2 }}
Memory {{ system.used_memory|filesizeformat }} / {{ system.total_memory|filesizeformat }} {{ "{:.2}"|format(system.used_memory/system.total_memory*100) }}%
{% for disk in system.disks %} {% endfor %}
{{disk.mount_point}} {{ (disk.total_space-disk.available_space)|filesizeformat }} / {{ disk.total_space|filesizeformat }}

Stacks

{% for stack in info.stacks %} {% endfor %}
Name Service status
{{stack.name}} {% let (running, stopped) = stack.stats() %} {% if running > 0 %} {{running}} {% endif %} {% if stopped > 0 %} {{stopped}} {% endif %}

Containers

{% for container in info.containers %} {% endfor %}
Name Stack State Image
{{container.name}} {{container.stack().unwrap_or_default()}} {{container.state}} {{container.image}}
{% endblock %}