Git Codebase - Sn0wlink IT
FredMon/libraries
[...] Up Directory
buildblock.php
disk-use.php
display-ip.php
display-libraries.php
display-os.php
graph.php
page-refresh.php
remote-ping.php
sysload.php
uptime.php
display-os.php
<?php // Print OS Name $get_name = shell_exec('cat /etc/os-release'); // cut the crap! $os_name = explode("\n", $get_name); $os_name = $os_name[0]; $os_name = trim($os_name, "PRETTY_NAME="); $os_name = trim($os_name, '"'); if ($display_os == true) { buildblock('Server OS', $os_name); } ?>