Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others.
bwm-ng v0.6.3 Copyright (C) 2004-2021 Volker Gropp ([email protected]) http://www.gropp.org/?id=projects&sub=bwm-ng
Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others.
Short list of features:
This was influenced by the old bwm util written by written by Barney ([email protected]) which had some issues with faster interfaces and was very simple. Since i had almost all code done anyway for other projects, i decided to create my own version.
I actually dont know if netstat input is usefull at all. I saw this elsewhere, so i added it. Its target is "netstat 1.42 (2001-04-15)" linux or Free/Open/NetBSD. If there are other formats i would be happy to add them.
For info about libstatgrab please refer to http://www.i-scream.org/libstatgrab/
network routines sucessfully tested on: Linux 2.4 and above* FreeBSD 4.8, 5.3, 6.2* MacOS X 10.1 and above* Solaris 10 x86* SunOS 5.9 sparc Solaris 9 OpenBSD 3.4, 3.6, 4.0* NetBSD 1.6.1, 2.0, 3.0* IRIX64 6.5 Win2000, WinXP, Windows Vista
*disk monitoring working aswell
please email me of working or not working platforms. Disk IO might work only on a limited number of platforms.
Autotools are used to build this. Run the autogen.sh to generate the configure script.
For detailed decription please read INSTALL ./configure --help for a list of options
./configure make
to install use as root: make install
To compile the Windows version in Linux (debian): ./configure --with-win32 --without-procnetdev --without-diskstats --without-curses --without-netstatlinux --build i686-pc-linux-gnu --host i586-mingw32msvc make
get ansi.sys for better output: http://en.wikipedia.org/wiki/ANSI.SYS
csv output format: Type rate: unix timestamp;iface_name;bytes_out/s;bytes_in/s;bytes_total/s;bytes_in;bytes_out;packets_out/s;packets_in/s;packets_total/s;packets_in;packets_out;errors_out/s;errors_in/s;errors_in;errors_out;bits_out/s;bits_in/s;bits_total/s;bits_in;bits_out\n Type svg, sum, max: unix timestamp;iface_name;bytes_out;bytes_in;bytes_total;packets_out;packets_in;packets_total;errors_out;errors_in\n Use --count 0 to skip the all zero output after start.
html output format: edit the bwm-ng.css to modify the output. Please note the htmlrefresh only modifies the META refresh, you maybe wanna sync --timeout and --htmlrefresh
USAGE: bwm-ng [OPTION] ... [CONFIGFILE]
Please read the manpage or bwm-ng -h
for a list and explanation of options.
Keybindings (curses only): 'h' show help 'q' exit '+' increases timeout by 100ms '-' decreases timeout by 100ms 'k','d' switch KB and auto assign Byte/KB/MB/GB 'a' cycle: show all interfaces, only those which are up, only up and not hidden 's' sum hidden ifaces to total aswell or not 'n' cycle: input methods 'u' cycle: bytes,bits,packets,errors 't' cycle: current rate, max, sum since start, average for last 30 sec
either via cmdline or /etc/bwm-ng.conf or ~/.bwm-ng.conf it consists of: longoption=value with 1 or 0 as values for keys without a value in cmdline options.
For more help take a look at bwm-ng.conf-example
Bugs/Known Problems:
Todo:
*
*