$record_seconds) { $record_string = $info['uptime_current']; file_put_contents($record_file, json_encode([ 'seconds' => $current_seconds, 'string' => $record_string ])); } $info['uptime_record'] = $record_string; // Load Metrics $load = sys_getloadavg(); $info['load_1m'] = $load[0]; $info['load_5m'] = $load[1]; // Memory Breakdown $free = shell_exec('free -m'); $free_lines = explode("\n", trim($free)); $mem = preg_split('/\s+/', $free_lines[1]); $info['ram_total'] = round($mem[1] / 1024, 2); $info['ram_used'] = round($mem[2] / 1024, 2); $info['ram_percent'] = $mem[1] > 0 ? round(($mem[2] / $mem[1]) * 100, 1) : 0; // Hard Drive Allocation Engine $disk_total = disk_total_space('/'); $disk_free = disk_free_space('/'); $disk_used = $disk_total - $disk_free; $info['disk_total'] = round($disk_total / (1024 * 1024 * 1024), 2); $info['disk_used'] = round($disk_used / (1024 * 1024 * 1024), 2); $info['disk_free'] = round($disk_free / (1024 * 1024 * 1024), 2); $info['disk_percent'] = $disk_total > 0 ? round(($disk_used / $disk_total) * 100, 1) : 0; // Background Logging Metrics $failed_ssh = shell_exec("grep 'Failed password' /var/log/auth.log 2>/dev/null | wc -l"); $info['failed_ssh'] = $failed_ssh !== null ? trim($failed_ssh) : 'Restricted'; $updates = shell_exec("apt-get -s dist-upgrade 2>/dev/null | grep '^Inst' | wc -l"); $info['pending_updates'] = $updates !== null ? trim($updates) : 'Unknown'; // Application Monitoring Array $top_proc = shell_exec("ps -eo cmd,%mem --sort=-%mem | head -n 4 | tail -n +2"); $info['top_processes'] = $top_proc ? explode("\n", trim($top_proc)) : []; return $info; } $vps = get_server_info(); ?>

VPS Monitoring Node

Unified node capacity and platform analytics

● ONLINE

System Profile

Hostname
OS Platform
Active Uptime
👑 All-Time Record

Storage File System

Mount Assignment/ (Root File System)
Total Space GB
Available Space GB
Storage Consumption %

Security & Upkeep

Failed SSH Logins
Pending Updates updates
Process Load (1m)

Memory Pool

Memory Loading%
Used / Allocation / GB