Advertisement
Guest User

PMA System Monitor Troubleshooter

a guest
Feb 27th, 2014
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. define("PHPMYADMIN", 1);
  3. error_reporting(E_ALL);
  4. ini_set('display_errors',1);
  5.  
  6. include "libraries/sysinfo.lib.php";
  7.  
  8. echo "<pre>";
  9.  
  10. echo "PHP_OS is " . PHP_OS ." <br><br>";
  11.  
  12. echo "result of PMA_getSysInfoOs(): ";
  13. print_r(PMA_getSysInfoOs());
  14. echo "<br><br>";
  15.  
  16. echo "result of PMA_getSysInfo(): ";
  17. print_r($sysinfo = PMA_getSysInfo());
  18.  
  19. echo "<br><br>";
  20.  
  21. echo "result of \$sysinfo->supported(): ";
  22. print_r($sysinfo->supported());
  23.  
  24. echo "<br><br>";
  25.  
  26. echo "result of \$sysinfo->loadavg(): ";
  27. print_r($sysinfo->loadavg());
  28.  
  29. echo "<br><br>";
  30.  
  31. echo "result of \$sysinfo->memory(): ";
  32. print_r($sysinfo->memory());
  33.  
  34.  
  35. echo "</pre>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement