From 3b1df888c963d906005ff139892df06a0d1ae2b4 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Mon, 28 Jan 2019 13:48:35 +0100
Subject: [statistics] Track and display memory/tmp usage of clients
---
.../statistics/templates/machine-main.html | 33 +++++++++++++++++++---
1 file changed, 29 insertions(+), 4 deletions(-)
(limited to 'modules-available/statistics/templates/machine-main.html')
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html
index f1021482..904c780b 100644
--- a/modules-available/statistics/templates/machine-main.html
+++ b/modules-available/statistics/templates/machine-main.html
@@ -1,3 +1,4 @@
+{{%FILTERS}}
{{hostname}} {{#hostname}}–{{/hostname}} {{clientip}}
{{#notes}}{{/notes}}
@@ -117,9 +118,23 @@
{{lang_ram}} |
- {{gbram}} GiB
- {{#maxram}}({{lang_maximumAbbrev}} {{maxram}}){{/maxram}}
- {{ramtype}}
+
+ {{gbram}} GiB
+ {{#maxram}}({{lang_maximumAbbrev}} {{maxram}}){{/maxram}}
+ {{ramtype}}
+
+ {{#live_memsize}}
+
+ {{live_memfree_s}} {{lang_free}}
+
+
+ {{/live_memsize}}
+ {{#live_swapsize}}
+
+ {{live_swapfree_s}} {{lang_free}}
+
+
+ {{/live_swapsize}}
|
{{#extram}}
@@ -135,7 +150,17 @@
{{/extram}}
{{lang_tempPart}} |
- {{gbtmp}} GiB |
+
+
+ {{gbtmp}} GiB
+
+ {{#live_tmpsize}}
+
+ {{live_tmpfree_s}} {{lang_free}}
+
+
+ {{/live_tmpsize}}
+ |
{{lang_64bitSupport}} |
--
cgit v1.2.3-55-g7522
From 8c5c14eb4ad2fcaeb35d746d2183943f6dc52fb1 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Mon, 28 Jan 2019 14:33:16 +0100
Subject: [statistics] Cleanup template
---
modules-available/statistics/templates/machine-main.html | 1 -
1 file changed, 1 deletion(-)
(limited to 'modules-available/statistics/templates/machine-main.html')
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html
index 904c780b..44f03a99 100644
--- a/modules-available/statistics/templates/machine-main.html
+++ b/modules-available/statistics/templates/machine-main.html
@@ -1,4 +1,3 @@
-{{%FILTERS}}
{{hostname}} {{#hostname}}–{{/hostname}} {{clientip}}
{{#notes}}{{/notes}}
--
cgit v1.2.3-55-g7522