traffic.sh changed
This commit is contained in:
1 parent
ac93f7aa10
commit
7fb5037070
1 file changed
+1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user