[Iftop-users] iftop continue running after exit
Martins Dzelde
martins.dzelde at latrude.lv
Sun, 20 Mar 2005 15:45:34 +0200
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 u=
p =20
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>=
=20
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).
>