From 491116531f6d3a4cd5f5a5317672bc99c1e8b087 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 19 Feb 2020 14:43:33 +0900 Subject: [PATCH] Update perftool.php --- helper/perftool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/perftool.php b/helper/perftool.php index 1aabf38..c6a2667 100644 --- a/helper/perftool.php +++ b/helper/perftool.php @@ -9,7 +9,7 @@ if(!is_fn("get_cpu_idle")) { function get_cpu_idle() { - $idle = 100.0; + $idle = false; if(loadHelper("exectool")) { $idle = floatval(trim(exec_command("top -n 1 | grep -i Cpu\(s\) | awk '{print \$8}'")));