aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/processes.html
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/templates/processes.html')
-rw-r--r--torouterui/templates/processes.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/torouterui/templates/processes.html b/torouterui/templates/processes.html
new file mode 100644
index 0000000..2e35162
--- /dev/null
+++ b/torouterui/templates/processes.html
@@ -0,0 +1,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 %}