aboutsummaryrefslogtreecommitdiffstats
path: root/templates/processes.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-14 20:10:43 +0200
committerficus <ficus@robocracy.org>2012-09-14 20:10:43 +0200
commita304d7a56563b16ca98d9b45ebed521c52f6347c (patch)
treeda88f01977c08d9a149c3e767f1a7e62981500b9 /templates/processes.html
downloadtui-a304d7a56563b16ca98d9b45ebed521c52f6347c.tar.gz
tui-a304d7a56563b16ca98d9b45ebed521c52f6347c.zip
backup WIP
Diffstat (limited to 'templates/processes.html')
-rw-r--r--templates/processes.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/processes.html b/templates/processes.html
new file mode 100644
index 0000000..c911b0a
--- /dev/null
+++ b/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 Code
+ <th>Started
+ <th>Time
+ <th>Command
+{% for proc in process_list %}
+ <tr>
+ <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>{{ proc.command }}
+{% endfor %}
+</table>
+
+{% endblock %}