Explorar o código

Update netlog.sh

蘭雅sRGB %!s(int64=6) %!d(string=hai) anos
pai
achega
f34c7e3598
Modificáronse 1 ficheiros con 3 adicións e 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}
+
 
 ######################################