$cpuUsage[0], "memory" => convert($memUsage), ); header('Content-Type: application/json'); echo json_encode($data); ?>