You are not logged in.
nbwmon - ncurses bandwidth monitor
* Print bandwidth graphs.
* Print current, average and maximum transfer speeds.
* Print total traffic.
* Scale to full window on startup and resize.
* Detect active network interface.
* Support for multiple units.
* Support for colors.
git:
https://github.com/causes-/nbwmon
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by defer (2014-10-03 19:15:19)
Offline
Wow, that looks pretty cool! I'm gonna have to take a look at that.
All the best,
-HG
Offline
nbwmon - ncurses bandwidth monitor
very nice. thanx for sharing!
▬▬ι═══════ﺤ
http://git.io/.files
Offline
For monitoring network traffic and bandwidth usage I like to use nload http://www.roland-riegel.de/nload/scree … index.html
I doesn't have colors, but seems to scale with windows resize.
Offline
Iftop does the job well too, with the added benefit of displaying active network connections.
Offline
nbwmon - ncurses bandwidth monitor
Nice little app
Obviously (from the commit log) it's a very recently started project, but would you like any feature requests/bugs/etc adding on github... or just leave it to you for a while until the project gets a little older?
My: [ GitHub | AUR Packages ]
Offline
Glad you like it. Bug reports and feature requests are always welcome.
Offline
nbwmon - ncurses bandwidth monitor
features:
print bandwidth graph
print bandwidth, peak and traffic
scale to full window on start and resize
support for colorsgit:
https://github.com/defer-/nbwmonscreenshot: http://i.imgur.com/W1H9ZXI.png
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
The flicker was bad so I fixed it
[ nbwmon ]$
└──╼ diff ./orig.nbwmon.c ./nbwmon.c
83,86d82
< endwin();
< refresh();
< clear();
<
101d96
< endwin();
121,122d115
< clear();
<
154,155d146
<
< refresh();
183d173
< endwin();
201d190
< endwin();
248d236
< endwin();
271a260
> doupdate();
You're just jealous because the voices only talk to me.
Offline
The flicker was bad so I fixed it
https://github.com/defer-/nbwmon/issues/3
which terminal program, just out of interest?
My: [ GitHub | AUR Packages ]
Offline
Flickering should be fixed now for urxvt (and others?).
Offline
Splitting out the nbwmon posts to Community Contributions...
Offline
snip
which terminal program, just out of interest?
I use urxvtc and the latest update fixed the flicker.
Cheers
You're just jealous because the voices only talk to me.
Offline
Nice program
May I suggest changing the colorstuff to:
start_color();
use_default_colors();
init_pair(1, COLOR_GREEN, -1);
init_pair(2, COLOR_RED, -1);
to use the terminal default background instead of black
Offline
How about a PKGBUILD?
You can try my PKGBUILD from my github-project. should be pretty much the same
https://aur.archlinux.org/packages/wh/w … t/PKGBUILD
Of course you will need to add your stuff for compiling and remove my dependencies because my project is in perl, but maybe it helps.
All the best!
Offline
use_default_colors(); init_pair(1, COLOR_GREEN, -1); init_pair(2, COLOR_RED, -1);
Yes thats much better. Thanks.
How about a PKGBUILD?
Might be a bit early for that. Would be good to test the program without making changes to code for some time first.
Offline
Offline
Hi defer, nice utility.
Do you plan to make the graph scale with the window size? Something like `nbwmon -l $(( LINES / 2 - 2 ))` is fine, just not quite handy.
This silver ladybug at line 28...
Offline
Hi defer, nice utility.
Do you plan to make the graph scale with the window size? Something like `nbwmon -l $(( LINES / 2 - 2 ))` is fine, just not quite handy.
I added full height option (-f). I think the fixed height is good default because it may confuse if the graph height is not always the same.
Offline
Huh, nice! And it scales, much better than my trick! Thanks
This silver ladybug at line 28...
Offline
Huh, nice! And it scales, much better than my trick! Thanks
Now when i tested it i liked it so much i set it default. :-)
Last edited by defer (2014-07-01 22:07:25)
Offline
You're welcome (took about 1 minute)
Offline
You're welcome (took about 1 minute)
Great! Thank you.
Offline
Offline
The [ 0 B/s ] at the bottom is rather useless... To a less extent, the repetition of the max values also bothers me a little.
EDIT: My suggestion is to remove the bottom boxes, and place the numbers on the first line of each of the graphs.
Last edited by lolilolicon (2014-09-19 17:23:07)
This silver ladybug at line 28...
Offline
The [ 0 B/s ] at the bottom is rather useless... To a less extent, the repetition of the max values also bothers me a little.
EDIT: My suggestion is to remove the bottom boxes, and place the numbers on the first line of each of the graphs.
Or instead of the max value, use the current value over the graphs.
Offline