{% load bootstrap3 i18n l10n djangofloor %}

{% trans 'System info' %}

{% if not swap %}
{% trans 'The "psutil" package is required to display system info' %}
{% else %}
  • {% trans 'CPU(s):' %} {{ cpu_count.1 }} {% trans 'cores' %}, {{ cpu_count.0 }} {% trans 'threads' %}
  • {% trans 'CPU average usage:' %} {{ cpu_average_usage }}%
    {{ cpu_average_usage|floatformat:'0' }}%
  • {% trans 'CPU current usage:' %} {{ cpu_current_usage }}%
    {{ cpu_current_usage|floatformat:'0' }}%
  • {% trans 'Memory current usage:' %} {{ memory.percent }}% ({{ memory.used|filesizeformat }}/{{ memory.total|filesizeformat }})
    {{ memory.percent|floatformat:'0' }}%
  • {% trans 'Swap current usage:' %} {{ swap.percent }}% ({{ swap.used|filesizeformat }}/{{ swap.total|filesizeformat }})
    {{ swap.percent|floatformat:'0' }}%
  • {% for disk in disks %}
  • {% trans 'Disk:' %} {{ disk.0 }} {{ disk.1.percent }}% ({{ disk.1.used|filesizeformat }}/{{ disk.1.total|filesizeformat }})
    {{ disk.1.percent|floatformat:'0' }}%
  • {% endfor %}
{% endif %}