Selaa lähdekoodia

Update netlog.sh

蘭雅sRGB 6 vuotta sitten
vanhempi
sitoutus
f34c7e3598
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  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}
+
 
 ######################################