Check-Server-Status/cpu.json.php

5 lines
125 B
PHP
Raw Permalink Normal View History

2023-11-17 12:07:46 +01:00
<?php
require_once 'ServerMonitor.php';
header('Content-Type: application/json');
echo json_encode(ServerMonitor::getCpu());