{% if not is_xhr|default(false) %}{% extends "base.html" %}{% endif -%} {% block content %}
Network
{% for io in network_interfaces %} {% endfor %}
Interface IP Bytes sent Bytes recv Packets sent Packets recv Errors in Errors out Dropped in Dropped out RX/s TX/s
{{ io.name.decode("utf-8") }} {{ io.ip }} {{ io.bytes_sent }} {{ io.bytes_recv }} {{ io.packets_sent }} {{ io.packets_recv }} {{ io.errors_in }} {{ io.errors_out }} {{ io.dropped_in }} {{ io.dropped_out }} {{ io.send_rate|default(0)|filesizeformat }} {{ io.recv_rate|default(0)|filesizeformat }}
Connections Listing {{ connections|count() }} connections
{% for c in connections %} {% endfor %}
FD PID Family Type Local address Remote address State
{{ c.fd if c.fd > 0 else "-" }} {% if c.pid %} {{ c.pid }} {% else %} - {% endif %} {{ c.family }} {{ c.type }} {{ c.local_addr_host|default("", True) }}:{{ c.local_addr_port|default("", True) }} {{ c.remote_addr_host|default("", True) }}:{{ c.remote_addr_port|default("", True) }} {{ c.state }}
{% endblock %}