Unverified Commit 2b15f3ca authored by Vladislav Gumerov's avatar Vladislav Gumerov Committed by GitHub

Update data.php

parent cbe1f923
...@@ -19,7 +19,7 @@ $arr = array('CPU' => ((int)trim($cpu) > 100 ? 100 : trim($cpu)), ...@@ -19,7 +19,7 @@ $arr = array('CPU' => ((int)trim($cpu) > 100 ? 100 : trim($cpu)),
'FreeMemory' => trim($free_mem) / 1024, 'FreeMemory' => trim($free_mem) / 1024,
"oneMinute" => substr(trim($average1), 0, -1), "oneMinute" => substr(trim($average1), 0, -1),
"fiveMinutes" => substr(trim($average2), 0, -1), "fiveMinutes" => substr(trim($average2), 0, -1),
"fifteenMinutes" => substr(trim($average3), 0, -1)); "fifteenMinutes" => trim($average3));
exit (json_encode($arr)); exit (json_encode($arr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment