From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MO5mB-0000ia-CX for garchives@archives.gentoo.org; Tue, 07 Jul 2009 08:11:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4ECD4E0743; Tue, 7 Jul 2009 08:11:42 +0000 (UTC) Received: from mail-gx0-f220.google.com (mail-gx0-f220.google.com [209.85.217.220]) by pigeon.gentoo.org (Postfix) with ESMTP id 33DEAE0743 for ; Tue, 7 Jul 2009 08:11:42 +0000 (UTC) Received: by gxk20 with SMTP id 20so11367710gxk.10 for ; Tue, 07 Jul 2009 01:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rn6SzS3K15al1pb7t/aN+huzR9mPLt3JGGHurHnhN00=; b=S6NJNmsb9sNJzCTK8atikwD8vIoEv8mCU2C0BhdW5K3ZD3mOrGRapbM2u1i6YOHYR0 ewcESZFIkDCyzaGjyzlVpFJNTgxsvb5xzFB7BOUPnHyc2svcBXrfHPOouw4jlilLqT74 7wjTg2i36RV9SucITRO07ZBJXZSD+3e0raXeM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AWzrAnOOSjOajtAsjHT+rGOaArSoqMV4PM5Lw/ukReu7W6K/2AoMQscnarYFpdyP5z BAZEdL9waUd+ImlZCZPi/i3rYNhSbAV5CJW+/Pnd+O2XpdKvmoO/6z7YuT0awB4QZU4G Uu/aaz7SzdnX/U+46FLKmckO0GJhgXPXmkn3I= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.90.70.15 with SMTP id s15mr3582599aga.30.1246954301834; Tue, 07 Jul 2009 01:11:41 -0700 (PDT) In-Reply-To: <58965d8a0907061413h5bd7b0e3k7374dbd9e524a37d@mail.gmail.com> References: <49bf44f10907050333y57c46458ref174233b41de0f3@mail.gmail.com> <200907052318.54263.michaelkintzios@gmail.com> <58965d8a0907061410q7ab863f5lb8d174f0bfe76dab@mail.gmail.com> <58965d8a0907061413h5bd7b0e3k7374dbd9e524a37d@mail.gmail.com> Date: Tue, 7 Jul 2009 01:11:41 -0700 Message-ID: <49bf44f10907070111i10356a14ncce238271dd74399@mail.gmail.com> Subject: Re: [gentoo-user] Monitoring data usage From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5fe14da1-c759-4e6c-9535-87171144ab3f X-Archives-Hash: cc167bfe7cf66629c5809d4157f06792 >>>> > 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: paul@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