* [gentoo-user] Monitoring data usage
@ 2009-07-05 10:33 Grant
2009-07-05 12:07 ` Stroller
0 siblings, 1 reply; 10+ messages in thread
From: Grant @ 2009-07-05 10:33 UTC (permalink / raw
To: Gentoo mailing list
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-05 10:33 [gentoo-user] Monitoring data usage Grant
@ 2009-07-05 12:07 ` Stroller
2009-07-05 22:18 ` Mick
0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2009-07-05 12:07 UTC (permalink / raw
To: gentoo-user
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
$
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-05 12:07 ` Stroller
@ 2009-07-05 22:18 ` Mick
2009-07-06 13:45 ` Grant
2009-07-06 21:10 ` Paul Hartman
0 siblings, 2 replies; 10+ messages in thread
From: Mick @ 2009-07-05 22:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
On Sunday 05 July 2009, Stroller wrote:
> 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
>
> $
Also iftop and lsof with some clever regex-ing if you want to see what program
drives the connection.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-05 22:18 ` Mick
@ 2009-07-06 13:45 ` Grant
2009-07-06 20:21 ` Dan Cowsill
2009-07-06 21:10 ` Paul Hartman
1 sibling, 1 reply; 10+ messages in thread
From: Grant @ 2009-07-06 13:45 UTC (permalink / raw
To: gentoo-user
>> > 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-06 13:45 ` Grant
@ 2009-07-06 20:21 ` Dan Cowsill
0 siblings, 0 replies; 10+ messages in thread
From: Dan Cowsill @ 2009-07-06 20:21 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 6, 2009 at 9:45 AM, Grant<emailgrant@gmail.com> 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
>>>
>>> $
>>
>> 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
>
>
I use vnstat. You can get PHP frontends for vnstat that make it nice
and groovy as well.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-05 22:18 ` Mick
2009-07-06 13:45 ` Grant
@ 2009-07-06 21:10 ` Paul Hartman
2009-07-06 21:13 ` Paul Hartman
2009-07-06 23:32 ` Stroller
1 sibling, 2 replies; 10+ messages in thread
From: Paul Hartman @ 2009-07-06 21:10 UTC (permalink / raw
To: gentoo-user
On Sun, Jul 5, 2009 at 5:18 PM, Mick<michaelkintzios@gmail.com> wrote:
> On Sunday 05 July 2009, Stroller wrote:
>> 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
>>
>> $
>
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-06 21:10 ` Paul Hartman
@ 2009-07-06 21:13 ` Paul Hartman
2009-07-07 8:11 ` Grant
2009-07-06 23:32 ` Stroller
1 sibling, 1 reply; 10+ messages in thread
From: Paul Hartman @ 2009-07-06 21:13 UTC (permalink / raw
To: gentoo-user
On Mon, Jul 6, 2009 at 4:10 PM, Paul
Hartman<paul.hartman+gentoo@gmail.com> wrote:
> On Sun, Jul 5, 2009 at 5:18 PM, Mick<michaelkintzios@gmail.com> wrote:
>> On Sunday 05 July 2009, Stroller wrote:
>>> 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
>>>
>>> $
>>
>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-06 21:10 ` Paul Hartman
2009-07-06 21:13 ` Paul Hartman
@ 2009-07-06 23:32 ` Stroller
2009-07-07 10:16 ` Neil Bothwick
1 sibling, 1 reply; 10+ messages in thread
From: Stroller @ 2009-07-06 23:32 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-06 21:13 ` Paul Hartman
@ 2009-07-07 8:11 ` Grant
0 siblings, 0 replies; 10+ messages in thread
From: Grant @ 2009-07-07 8:11 UTC (permalink / raw
To: gentoo-user
>>>> > 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] Monitoring data usage
2009-07-06 23:32 ` Stroller
@ 2009-07-07 10:16 ` Neil Bothwick
0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2009-07-07 10:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
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."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-07-07 10:16 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-05 10:33 [gentoo-user] Monitoring data usage Grant
2009-07-05 12:07 ` Stroller
2009-07-05 22:18 ` Mick
2009-07-06 13:45 ` Grant
2009-07-06 20:21 ` Dan Cowsill
2009-07-06 21:10 ` Paul Hartman
2009-07-06 21:13 ` Paul Hartman
2009-07-07 8:11 ` Grant
2009-07-06 23:32 ` Stroller
2009-07-07 10:16 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox