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