soarpenguin / iftop Goto Github PK
View Code? Open in Web Editor NEWdisplay bandwidth usage on an interface
Home Page: http://www.ex-parrot.com/pdw/iftop/
License: GNU General Public License v2.0
display bandwidth usage on an interface
Home Page: http://www.ex-parrot.com/pdw/iftop/
License: GNU General Public License v2.0
I see an option for upper bandwidth limit, but i would like an option for lower bandwidth limit as well. My external interface can get pretty chatty with small amounts of broadcast traffic and it soils my iftop screen. I wish to exclude transfer rates lower than N threshold (to filter out this small amount of traffic from populating the table). In short, I only want to see the big connections. :-)
There isn't any configuration directive for setting the bar graph average to anything other than the default (10 seconds).
When, say, sort: 40s
is present in the config file, one might have to press B
each time iftop is started, in order to use the same average for sorting and for the bar graphs.
A configuration directive such as bars: 40s
would solve this.
Hi,
Could you tell me how to build a static iftop binary ?
Or, is there any parameters to make static iftop binary ?
Thank you!
make[2]: Entering directory '/home/iftop'
gcc -g -O2 -o iftop addr_hash.o edline.o hash.o iftop.o ns_hash.o options.o resolver.o screenfilter.o serv_hash.o sorted_list.o threadprof.o ui_common.o ui.o tui.o util.o addrs_ioctl.o addrs_dlpi.o dlcommon.o stringmap.o cfgfile.o vector.o -lpcap -lm -lcurses
/usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:36: multiple definition of screen_list'; iftop.o:/home/iftop/ui_common.h:36: first defined here /usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:38: multiple definition of
peaktotal'; iftop.o:/home/iftop/ui_common.h:38: first defined here
/usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:38: multiple definition of peakrecv'; iftop.o:/home/iftop/ui_common.h:38: first defined here /usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:38: multiple definition of
peaksent'; iftop.o:/home/iftop/ui_common.h:38: first defined here
/usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:37: multiple definition of totals'; iftop.o:/home/iftop/ui_common.h:37: first defined here /usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:40: multiple definition of
screen_hash'; iftop.o:/home/iftop/ui_common.h:40: first defined here
/usr/sbin/ld: ui_common.o:/home/iftop/ui_common.h:41: multiple definition of service_hash'; iftop.o:/home/iftop/ui_common.h:41: first defined here /usr/sbin/ld: ui.o:/home/iftop/ui_common.h:36: multiple definition of
screen_list'; iftop.o:/home/iftop/ui_common.h:36: first defined here
/usr/sbin/ld: ui.o:/home/iftop/ui_common.h:38: multiple definition of peaksent'; iftop.o:/home/iftop/ui_common.h:38: first defined here /usr/sbin/ld: ui.o:/home/iftop/ui_common.h:38: multiple definition of
peakrecv'; iftop.o:/home/iftop/ui_common.h:38: first defined here
/usr/sbin/ld: ui.o:/home/iftop/ui_common.h:38: multiple definition of peaktotal'; iftop.o:/home/iftop/ui_common.h:38: first defined here /usr/sbin/ld: ui.o:/home/iftop/ui_common.h:37: multiple definition of
totals'; iftop.o:/home/iftop/ui_common.h:37: first defined here
/usr/sbin/ld: ui.o:/home/iftop/ui_common.h:40: multiple definition of screen_hash'; iftop.o:/home/iftop/ui_common.h:40: first defined here /usr/sbin/ld: ui.o:/home/iftop/ui_common.h:41: multiple definition of
service_hash'; iftop.o:/home/iftop/ui_common.h:41: first defined here
/usr/sbin/ld: tui.o:/home/iftop/ui_common.h:36: multiple definition of screen_list'; iftop.o:/home/iftop/ui_common.h:36: first defined here /usr/sbin/ld: tui.o:/home/iftop/ui_common.h:37: multiple definition of
totals'; iftop.o:/home/iftop/ui_common.h:37: first defined here
/usr/sbin/ld: tui.o:/home/iftop/ui_common.h:38: multiple definition of peaksent'; iftop.o:/home/iftop/ui_common.h:38: first defined here /usr/sbin/ld: tui.o:/home/iftop/ui_common.h:38: multiple definition of
peakrecv'; iftop.o:/home/iftop/ui_common.h:38: first defined here
/usr/sbin/ld: tui.o:/home/iftop/ui_common.h:38: multiple definition of peaktotal'; iftop.o:/home/iftop/ui_common.h:38: first defined here /usr/sbin/ld: tui.o:/home/iftop/ui_common.h:40: multiple definition of
screen_hash'; iftop.o:/home/iftop/ui_common.h:40: first defined here
/usr/sbin/ld: tui.o:/home/iftop/ui_common.h:41: multiple definition of `service_hash'; iftop.o:/home/iftop/ui_common.h:41: first defined here
error: ld returned 1 exit status
https://postimg.org/image/5i3lg36qd/
Im not seeing really clean formatting =/ IDK what all the "qqqqq"s are about.
verified that I've got my utf-8 set correctly to:
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
Just reporting the issue =] OSX 10.10.5
I only have a speed of 20m/s, which is most likely to be more than 1G/s. The scale bar shows only a little, which is meaningless.
When a stream has 1s of Gb throughput it graphs smaller than streams with 100s of Mb throughput.
Seems the graphs are not considering units properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.