diff --git a/log_accessing_server_scripts b/log_accessing_server_scripts index 11db160..a6ea00a 100644 --- a/log_accessing_server_scripts +++ b/log_accessing_server_scripts @@ -28,3 +28,7 @@ cat mac.log | cut -d - -f 2 | grep -n -o ';' | sort -n | uniq -c | cut -d : -f 1 links: anz macs, rechts: zeilen nr cat mac.log | cut -d - -f 2 | grep -n -o ';' | sort -n | uniq -c | cut -d : -f 1 | sort -n + +read TX / RX packets +while [ true ]; do (echo -n "RX: " && cat /proc/net/dev | grep "enp" | sed -e "s/[[:space:]]\+/ TX: /g" | cut -d ' ' -f 5,20,21) | tr '\n' '\r'; sleep 0.05; done +