From 08016ef9d0ecf85a28dc47eb8f9c535bc9d65292 Mon Sep 17 00:00:00 2001 From: nadir3392 <37904476+nadir3392@users.noreply.github.com> Date: Mon, 28 Sep 2020 19:17:22 +0100 Subject: [PATCH] to display freeDangerColor in CPU in order to change the color from "freeColor" to "freeDangerColor" in case the CPU exceeds 75% utilization --- cuckoo/web/static/js/cuckoo/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuckoo/web/static/js/cuckoo/app.js b/cuckoo/web/static/js/cuckoo/app.js index 94d29a8eda..0394fd423c 100644 --- a/cuckoo/web/static/js/cuckoo/app.js +++ b/cuckoo/web/static/js/cuckoo/app.js @@ -962,7 +962,7 @@ $(function () { // populate cpu load unit var cpu_load = createChart($("#cpu-stat > canvas"), { total: cores * 100, - used: avgload, + used: avgload * cores, free: 100 - avgload }); } else {