Execute a shell command and return it's output is all it is doing, and in this case it's the "uptime" command, so you can see the average load, users logged in via shell, and how long the server has been up via your browser.
Save this code as 'uptime.php' or name it whatever you want as long as it has the .php extension, upload it to your site, and you can then access it via your web browser.
CODE
<?php
$uptime = shell_exec('uptime');
echo "$uptime";
?>
Sign In
Create Account










