Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Monitoring data usage

0 views
Skip to first unread message

Grant

unread,
Jul 5, 2009, 6:40:06 AM7/5/09
to
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?

- Grant

Stroller

unread,
Jul 5, 2009, 8:10:07 AM7/5/09
to

On 5 Jul 2009, at 11:33, Grant wrote:

> 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

$

Mick

unread,
Jul 5, 2009, 6:20:10 PM7/5/09
to

Also iftop and lsof with some clever regex-ing if you want to see what program
drives the connection.

--
Regards,
Mick

signature.asc

Grant

unread,
Jul 6, 2009, 9:50:13 AM7/6/09
to
>> > 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.

Thank you, iftop is great:

iftop -i ppp0 -P

- Grant

Dan Cowsill

unread,
Jul 6, 2009, 4:30:16 PM7/6/09
to

I use vnstat. You can get PHP frontends for vnstat that make it nice
and groovy as well.

Paul Hartman

unread,
Jul 6, 2009, 5:20:05 PM7/6/09
to

nethogs will show active network activity

Paul Hartman

unread,
Jul 6, 2009, 5:20:14 PM7/6/09
to

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

Stroller

unread,
Jul 6, 2009, 7:40:10 PM7/6/09
to

On 6 Jul 2009, at 22:10, Paul Hartman wrote:
> ...

> nethogs will show active network activity

That is REALLY cool. I can't believe I never knew about this before.

Stroller

Grant

unread,
Jul 7, 2009, 4:20:10 AM7/7/09
to

That's a great tool. I couldn't get it to work with ppp0 until I
emerged the ~amd64 version.

- Grant

Neil Bothwick

unread,
Jul 7, 2009, 6:20:07 AM7/7/09
to
On Tue, 7 Jul 2009 00:32:28 +0100, Stroller wrote:

> > nethogs will show active network activity
>
> That is REALLY cool. I can't believe I never knew about this before.

+1 - this looks really useful.


--
Neil Bothwick

"This project is so important, we can't let things that are more
important interfere with it."

signature.asc
0 new messages