sbm

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

commit 0dc73326e7a727c06d11317c7bbdddb2c7c740af
parent 1fdf7c1c91d85ed726b9d9d47305d2b0e366a121
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 23 Feb 2016 11:55:49 +0100

Use fixed width value fields for default output

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 %llu %s up %llu %s rxpps %llu txpps %llu\n", + printf("%s: down %3llu %4s up %3llu %4s rxpps %6llu txpps %6llu\n", ifname, (unsigned long long)rxbits, rxsuffix,