From 7fb503707095946e41c244d0cf645749a477b863 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Thu, 30 May 2024 08:26:38 +0700 Subject: [PATCH] traffic.sh changed --- traffic.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/traffic.sh b/traffic.sh index f0dbaae..afb27e4 100755 --- a/traffic.sh +++ b/traffic.sh @@ -12,6 +12,7 @@ interface=$1 bytes=$2 while true; do + clear tx_traffic=$(cat /sys/class/net/${interface}/statistics/tx_bytes) rx_traffic=$(cat /sys/class/net/${interface}/statistics/rx_bytes)