Both are very cool! A nitpick is that Dimitri's version uses the nonstandard header sys/sysctl.h. This prevents compilation on musl.
On Thu, Feb 11, 2016 at 3:41 PM, Dimitris Papastamos <s...@2f30.org> wrote: > On Thu, Feb 11, 2016 at 11:01:35AM -0500, Calvin Morrison wrote: >> Hi, >> >> I had time to commit my last changes into fsbm [0], the minimal >> bandwidth meter. Notably the two features added are below: >> >> -r flag now accepted to show raw byte or bit counts, rather than >> squashing into Kb/s Mb/s etc. >> -i flag now accepted to show a single interface that is requested >> >> For now the -i flag only will operate on one interface, so it could be >> improved by handing multiple interfaces, but I don't really see a use >> case for it. >> >> [0] https://github.com/mutantturkey/fsbm > > Cool! I made a similar tool some time ago, so I cleaned it up and put > it on git. > > http://git.2f30.org/sbm/files.html >