Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Server Uptime And Hardware Information
- ?>
- <html>
- <head>
- <title><?php echo $SERVER_NAME; ?> - VPS Information</title>
- <STYLE type=text/css>
- BODY { FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana,arial, helvetica, serif; margin : 0 0 0 0;}
- </STYLE>
- </head>
- <body>
- <pre>
- <b>Uptime:</b>
- <?php system("uptime"); ?>
- <b>System Information:</b>
- <?php system("uname -a"); ?>
- <b>Memory Usage (MB):</b>
- <?php system("free -m"); ?>
- <b>Disk Usage:</b>
- <?php system("df -h"); ?>
- </pre>
- <br>
- <br>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement