>>>> > I'm using ifconfig to monitor how much data I'm using, but it seems >>>> > pretty high. Is there a simple way to see why I'm using so much data? >>>> >>>> $ eix ^ntop >>>> [I] net-analyzer/ntop >>>> Available versions: 3.3.9-r2 ~3.3.10-r1 {ipv6 ssl tcpd} >>>> Installed versions: 3.3.9-r2(14:11:46 06/25/09)(ssl tcpd -ipv6) >>>> Homepage: http://www.ntop.org/ntop.html >>>> Description: Network traffic analyzer with web interface >>>> >>>> $ >>> >>> Also iftop and lsof with some clever regex-ing if you want to see what >>> program >>> drives the connection. >> >> nethogs will show active network activity > > Oops, I somehow sent that while composing. I was saying, nethogs will > show active network activity by program, so you can see who is using > network data at that moment, in a top-like fashion. Not a "how much > has it used total", but a "how much is it using right now". Here's an > example: > > NetHogs version 0.7.0 > > PID USER PROGRAM DEV SENT RECEIVED > 29641 root git wlan0 0.929 0.649 > KB/sec > 29620 root /usr/bin/svn wlan0 0.187 0.269 > KB/sec > 29509 paul sshd: p...@pts/1 wlan0 0.883 0.136 > KB/sec > 29612 root git wlan0 0.119 0.131 > KB/sec > 29591 root /usr/bin/python wlan0 0.000 0.000 > KB/sec > 0 root unknown TCP 0.000 0.000 > KB/sec > > TOTAL 2.118 1.185 > KB/sec
That's a great tool. I couldn't get it to work with ppp0 until I emerged the ~amd64 version. - Grant