ping any hello?
- how to make iftop show bandwidth usage by ip address. so that it sum
up all connections made from each ip in the network. so that iftop wouldnt show every connection for each ip addressbut only total bw usage for each ip
On Sun, 20 Mar 2005 15:45:34 +0200, Martins Dzelde martins.dzelde@latrude.lv wrote:
the output there is:
/* #undef USE_ARES */ #define USE_FORKING_RESOLVER 1 /* #undef USE_GETHOSTBYADDR */ /* #undef USE_GETHOSTBYADDR_R */ /* #undef USE_GETNAMEINFO */
what does it mean?
btw, i installed iftop-0.16 as a port on freebsd-5.2 and iftop still fills up proccess list..
maybe someone know the answer for the second question: 2) how to make iftop show bandwidth usage by ip address. so that it sum up all connections made from each ip in the network.
Thanks, Martins.
On Sat, 19 Mar 2005 10:38:46 +0000, Chris Lightfoot chris@ex-parrot.com wrote:
[ Cc: back to list ]
On Sat, Mar 19, 2005 at 10:46:12AM +0200, Martins Dzelde wrote:
sorry, but i cannet find where is the resolver code.. nor where is the actual config file located. where should it be?
The particular version of the resolver code which iftop uses is decided by the configure script at compile time. I thought the configure script printed that out, but it looks like it doesn't, necessarily. So, the easiest way to find out is, in the build directory, to type,
grep USE config.h
you'll get output something like this:
/* #undef USE_ARES */ /* #undef USE_FORKING_RESOLVER */ /* #undef USE_GETHOSTBYADDR */ #define USE_GETHOSTBYADDR_R 1 /* #undef USE_GETNAMEINFO */
-- the #define line in this case indicates that that build of iftop uses name-resolution code based on gethostbyaddr_r(3).
iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users