This commit is contained in:
Luke Smith 2020-07-02 21:00:39 -04:00
parent 1ca7338596
commit 9e110a87c7
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -25,4 +25,4 @@ update() {
rx=$(update /sys/class/net/[ew]*/statistics/rx_bytes)
tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes)
printf "🔻%4sB 🔺%4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec-i $tx)
printf "🔻%4sB 🔺%4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx)