Browse Source

Update netlog.sh

蘭雅sRGB 6 years ago
parent
commit
6c008dd881
1 changed files with 1 additions and 1 deletions
  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}