Explorar el Código

Update netlog.sh

蘭雅sRGB hace 6 años
padre
commit
f34c7e3598
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      netlog.sh

+ 3 - 2
netlog.sh

@@ -4,13 +4,14 @@ INDEX_HTML=/var/www/log/index.html
 
 echo '<pre>' > ${INDEX_HTML}
 
-vnstat -u
+top -b  | head -6 >> ${INDEX_HTML}
 
+vnstat -u
 vnstat -m >> ${INDEX_HTML}
 vnstat -d >> ${INDEX_HTML}
 vnstat -h >> ${INDEX_HTML}
 
-top -b  | head -5 >> ${INDEX_HTML}
+
 
 ######################################