Check-Server-Status/memory.json.php

6 lines
129 B
PHP
Raw 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::getMemory());