Advertisement
jay1110

hwmonitor

Nov 12th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. <html>
  2. <head><center>
  3. <title><?php echo $SERVER_NAME; ?>-HW Monitor-</title>
  4. <STYLE type=text/css>
  5. BODY { FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana,arial, helvetica, serif; : 0 0 0 0;}
  6. .style1 {
  7.     color: #999999;
  8.     font-weight: bold;
  9. }
  10. </STYLE>
  11. </head>
  12. <body>
  13.    
  14.     <blockquote>
  15.   <pre><p></p>
  16. <span class="style1">Uptime:</span>
  17. <?php system("uptime"); ?>
  18.  
  19. <span class="style1">Gameservers CPU Usage:</span>
  20. <span class="style1">Server Port                |%CPU|%RAM|</span>
  21. <?php system("ps axo args,%cpu,%mem | sort -n | head -7 | grep -v sd-pam | grep -v bash | grep -v psa | grep -v system"); ?>
  22. </pre>
  23.     </blockquote>
  24.     </center>
  25. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement