redray
2008-10-26 fa47f03315abb527165c4d77605945326f08d404
css changes
1 files modified
10 ■■■■ changed files
interface/web/monitor/system.php 10 ●●●● patch | view | raw | blame | history
interface/web/monitor/system.php
@@ -101,7 +101,7 @@
function show_load(){
    global $app;
    $html_out .= '<table>';
    $html_out .= '<table id="system_load">';
    $fd = popen ("uptime", "r");
    while (!feof($fd)) {
@@ -156,7 +156,7 @@
    global $app;
    $html_out .= '<table>';
    $html_out .= '<table id="system_disk">';
    $fd = popen ("df -h", "r");
    while (!feof($fd)) {
@@ -201,7 +201,7 @@
    {
    global $app;
    $html_out .= '<table>';
    $html_out .= '<table id="system_memusage">';
    $fd = fopen ("/proc/meminfo", "r");
    while (!feof($fd)) {
@@ -232,7 +232,7 @@
    {
    global $app;
    $html_out .= '<table>';
    $html_out .= '<table id="system_cpu">';
        $n = 0;
        if(is_readable("/proc/cpuinfo")) {
@@ -273,7 +273,7 @@
    {
    global $app;
    $html_out .= '<table>';
    $html_out .= '<table id="system_services">';
    // Checke Webserver
    if(_check_tcp('localhost',80)) {