Check-Server-Status/memory.json.php
2023-11-17 12:07:46 +01:00

5 lines
129 B
PHP

<?php
require_once 'ServerMonitor.php';
header('Content-Type: application/json');
echo json_encode(ServerMonitor::getMemory());