the nethogs does not show any network activity even though i have programs running that take up bandwidth Reproducible: Always Steps to Reproduce: 1. emerge net-analyzer/nethogs-0.6.0 2. run some bandwidth consuming programs 3. run nethogs Actual Results: no process is shown to be using network bandwidth Expected Results: the programs that use bandwidth should have been shown. # emerge info Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -ftracer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="he_IL.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="amd64 X aac alsa audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cdda cddb cdio cdr cpudetection crypt crypto cups curl directfb dts dvd dvdr emboss encode esd exif expat fam ffmpeg firefox flac font-server foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal imagemagick imlib java jpeg junit lcms libwww lirc lzw lzw-tiff mad mbrola mikmod mmext mng motif mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang speex spell ssl stream tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vorbis wxwindows xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Works for me. How do you start nethogs? Maybe it tries to listen on the wrong interface?
My station is also the router, so i have eth0 for the lan interface, and ppp0 for the outside connection. When i run # nethogs ppp0 i get this: NetHogs version 0.6.0 PID USER PROGRAM DEV SENT RECEIVED 0 root unknown 0.000 0.000 KB/sec TOTAL 0.000 0.000 KB/sec And it doesn't change. When i run # nethogs eth0 i get: NetHogs version 0.6.0 PID USER PROGRAM DEV SENT RECEIVED 0 root unknown 0.000 0.068 KB/sec TOTAL 0.000 0.068 KB/sec Where the RECEIVED numbers change, but no PROGRAM specification is shown. i run it from the root user.
Well, it works for me... If anyone can give a hand :-)
Not much we can do here. Upstream is aware of this bug, hopefully a solution will come out.