From 5197a0c0a46630f7e0010bd08f746452b2371f5c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 18 Feb 2021 16:25:41 +0100 Subject: [statistics] Store ID45 live stats --- modules-available/statistics/api.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php index 23b86ef4..30d1fda9 100644 --- a/modules-available/statistics/api.inc.php +++ b/modules-available/statistics/api.inc.php @@ -195,7 +195,9 @@ if ($type{0} === '~') { } } } - foreach (['memsize', 'tmpsize', 'swapsize', 'memfree', 'tmpfree', 'swapfree', 'cpuload', 'cputemp'] as $item) { + foreach (['memsize', 'tmpsize', 'swapsize', 'id45size', + 'memfree', 'tmpfree', 'swapfree', 'id45free', + 'cpuload', 'cputemp'] as $item) { $liveVal = Request::post($item, false, 'int'); if ($liveVal !== false) { $strUpdateBoottime .= ' live_' . $item . ' = :_' . $item . ', '; -- cgit v1.2.3-55-g7522