{% if not is_xhr|default(false) %}{% extends "base.html" %}{% endif -%} {% block content %} {% set next_order = "desc" if order == "asc" else "asc" %} {% if order == "asc" %} {% set order_icon = '' %} {% else %} {% set order_icon = '' %} {% endif %}
Processes
{% for p in processes %} {% endfor %}
PID {{ order_icon|safe if sort == "pid"}} Name {{ order_icon|safe if sort == "name"}} User {{ order_icon|safe if sort == "username"}} Status {{ order_icon|safe if sort == "status"}} Created {{ order_icon|safe if sort == "created"}} RSS {{ order_icon|safe if sort == "rss"}} VMS {{ order_icon|safe if sort == "vms"}} Memory % {{ order_icon|safe if sort == "memory"}} CPU % {{ order_icon|safe if sort == "cpu"}}
{{ p.pid }} {{ p.name }} {{ p.username }} {{ p.status }} {{ p.created }} {{ p.rss|filesizeformat }} {{ p.vms|filesizeformat }} {{ p.memory|round }} {{ p.cpu }}
{% endblock %}