5 lines
125 B
PHP
5 lines
125 B
PHP
|
<?php
|
||
|
require_once 'ServerMonitor.php';
|
||
|
header('Content-Type: application/json');
|
||
|
echo json_encode(ServerMonitor::getCpu());
|