File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 101101function show_load (){
102102 global $ app ;
103103
104- $ html_out .= '<table> ' ;
104+ $ html_out .= '<table id="system_load" > ' ;
105105
106106 $ fd = popen ("uptime " , "r " );
107107 while (!feof ($ fd )) {
@@ -156,7 +156,7 @@ function show_disk () {
156156 global $ app ;
157157
158158
159- $ html_out .= '<table> ' ;
159+ $ html_out .= '<table id="system_disk" > ' ;
160160
161161 $ fd = popen ("df -h " , "r " );
162162 while (!feof ($ fd )) {
@@ -201,7 +201,7 @@ function show_memusage ()
201201 {
202202 global $ app ;
203203
204- $ html_out .= '<table> ' ;
204+ $ html_out .= '<table id="system_memusage" > ' ;
205205
206206 $ fd = fopen ("/proc/meminfo " , "r " );
207207 while (!feof ($ fd )) {
@@ -232,7 +232,7 @@ function show_cpu ()
232232 {
233233 global $ app ;
234234
235- $ html_out .= '<table> ' ;
235+ $ html_out .= '<table id="system_cpu" > ' ;
236236
237237 $ n = 0 ;
238238 if (is_readable ("/proc/cpuinfo " )) {
@@ -273,7 +273,7 @@ function show_services ()
273273 {
274274 global $ app ;
275275
276- $ html_out .= '<table> ' ;
276+ $ html_out .= '<table id="system_services" > ' ;
277277
278278 // Checke Webserver
279279 if (_check_tcp ('localhost ' ,80 )) {
You can’t perform that action at this time.
0 commit comments