sbm

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

commit 7917f8e1aa82819707abc1b30f42b5b041eb799c
parent 0dc73326e7a727c06d11317c7bbdddb2c7c740af
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 23 Feb 2016 12:02:47 +0100

Print rx/tx pps units after respective value fieds

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

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