{% extends "admin/index.html" %} {% load sysmon_tags %} {% block content %} {% get_system_stats %} {% if user.is_superuser %}
{% if error_psutil %}
! ERROR (psutil not found)
- Please install psutil for view system statistics on this page

$ pip install psutil
{% else %} {% for part in partitions %} {% endfor %} {% for network in networks %} {% endfor %} {% for process in processes %} {% endfor %}
:::: SIMPLE SYSTEM USAGE STATISTICS [ show/hide ]
:: CPU USAGE
{{cpu_info.used}}% [Core(s): {{cpu_info.core}}]
:: MEMORY USAGE
{{mem_info.used}}% [Total: {{mem_info.total}}]
:: DISK PARTITIONS
{{part.percent}}% [{{part.mountpoint}}, ({{part.total}})]
:: NETWORK USAGE
Device Recv Sent Pkg Sent Pkg Recv
{{network.device}} {{network.recv}} {{network.sent}} {{network.pkg_sent}} {{network.pkg_recv}}
:: RUNNING PROCESSES (TOP 10 memory used)
Name PID Mem% Status User
{{process.name}} {{process.pid}} {{process.memory}}% {{process.status}} {{process.user}}
{% endif %} {% endif %} {{ block.super }} {% endblock %}