sbm

simple bandwidth monitor
git clone git://git.2f30.org/sbm
Log | Files | Refs | LICENSE

commit a355a5e835c252eb1b3a09327047776a887d836b
parent 09b6dc612c7d391b7f6a800c545fda5ca1f71c15
Author: sin <sin@2f30.org>
Date:   Wed, 24 Feb 2016 14:26:55 +0000

Reduce field width to 5 instead of 6 for pps

Diffstat:
Msbm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbm.c b/sbm.c @@ -166,7 +166,7 @@ print(char *ifname, uint64_t rxbits, uint64_t txbits, if (!tflag) { scale(&rxsuffix, &rxbits); scale(&txsuffix, &txbits); - printf("%s: %3llu Rx %4s %3llu Tx %4s %6llu Rx pps %6llu Tx pps\n", + printf("%s: %3llu Rx %4s %3llu Tx %4s %5llu Rx pps %5llu Tx pps\n", ifname, (unsigned long long)rxbits, rxsuffix,