1
0
蘭雅sRGB 6 жил өмнө
parent
commit
6c008dd881
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      netlog.sh

+ 1 - 1
netlog.sh

@@ -3,7 +3,7 @@
 INDEX_HTML=/var/www/log/index.html
 mkdir -p   /var/www/log/
 
-echo '<pre>' > ${INDEX_HTML}
+echo '<!DOCTYPE html><meta charset=utf-8><pre>' > ${INDEX_HTML}
 
 top -b  | head -5 >> ${INDEX_HTML}