aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/processes.html
blob: 2e351622a37bc6ad85b6b8f3d41d45b8c8a6cce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% import "lib.html" as lib %}
{% extends "base.html" %}
{% block body %}
<h3>System Running Process List</h3>
<table class="table table-condensed">
 <tr>
  <th>User
  <th>PID
  <th>%CPU
  <th>%MEM
  <th>Status
  <th>Started
  <th>Time
  <th>Command
{% for proc in process_list %}
 <tr style="font-family: monospace;">
  <td>{{ proc.user }}
  <td>{{ proc.pid}}
  <td>{{ proc.perc_cpu }}
  <td>{{ proc.perc_mem }}
  <td>{{ proc.status_code }}
  <td>{{ proc.started }}
  <td>{{ proc.time }}
  <td><div style="height: 1.5em; overflow:hidden;">{{ proc.command }}</div>
{% endfor %}
</table>

{% endblock %}