diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-01-08 19:27:16 +0100 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2023-01-08 19:27:16 +0100 |
| commit | 833c5fa22d123f47ff57cb629c7180f143a03674 (patch) | |
| tree | b63a11a816474294e2f10dc63763a48e78014bc6 /scripts/.local/bin | |
| parent | 4047aa8283dce178135c0ff9c3a0a00c33eceecb (diff) | |
1
Diffstat (limited to 'scripts/.local/bin')
| -rwxr-xr-x | scripts/.local/bin/sb-nettraf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/.local/bin/sb-nettraf b/scripts/.local/bin/sb-nettraf index 07cbd5c..76b7935 100755 --- a/scripts/.local/bin/sb-nettraf +++ b/scripts/.local/bin/sb-nettraf @@ -19,4 +19,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 $tx) +printf "%4s %4s\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx) |
