{% if backends %}
{% for name, backend in backends.items() %}
{{ name }} ({{ backend.backend_type }})
Log
{% if not backend.enabled %} Disabled {% elif backend.status.connected %} {% if backend.status.cpus_user is not none and backend.status.cpus_idle is not none %} Using {{ backend.status.cpus_user }} CPUs in {{ backend_job_counts.get(name, 0) }} jobs, {{ backend.status.cpus_idle }} available {% else %} {{ backend_job_counts.get(name, 0) }} jobs {% endif %} {% if backend.status.disk_avail_bytes is not none and backend.status.disk_total_bytes %} {% set disk_used_pct = ((backend.status.disk_total_bytes - backend.status.disk_avail_bytes) * 100 / backend.status.disk_total_bytes) | round(0, 'floor') | int %} {{ backend.status.disk_avail_bytes | disk_bytes }} free ({{ disk_used_pct }}% used) {% endif %} {% if backend.status.last_poll_duration_ms is not none %} {{ backend.status.last_poll_duration_ms }}ms {% endif %} {% if backend.status.last_poll %} {% endif %} {% else %} Disconnected {% if backend.status.last_poll_duration_ms is not none %} {{ backend.status.last_poll_duration_ms }}ms {% endif %} {% endif %}
{% if backend.enabled and backend.status.error %}
{{ backend.status.error }}
{% endif %} {% endfor %}
{% else %}

No backends configured

{% endif %}