Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-16-2006, 11:39 AM   #1
LQ Newbie
Registered: May 2006
Posts: 7

Rep: Reputation: 0
Network activity monitor

Is there a way to monitor the network activity on a given interface?

I have a Netgear GA311 (RTL8169 chipset) GbE NIC and I want to find out what the link status is on the card.

Here's the output from dmesg:

ip_tables: (C) 2000-2002 Netfilter core team
r8169 Gigabit Ethernet driver 1.2 loaded
divert: allocating divert_blk for eth0
r8169: PCI device 01:07.0: unknown chip version, assuming RTL-8169
r8169: PCI device 01:07.0: TxConfig = 0x4000000
eth0: Identified chip type is 'RTL-8169'.
eth0: RealTek RTL8169 Gigabit Ethernet at 0xf8dba000, 00:09:5b:8d:98:13, IRQ 11
eth0: Auto-negotiation Enabled.
eth0: 1000Mbps Full-duplex operation.
ip_tables: (C) 2000-2002 Netfilter core team
and here's the output of from ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:09:5B:8D:98:13
          inet addr:  Bcast:  Mask:
          RX packets:1066806 errors:0 dropped:0 overruns:0 frame:0
          TX packets:798133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:859223517 (819.4 Mb)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0xa000
I tried playing around with txqueuelen and trying to set that to 1000 but that actually ended up slowing it down.

I also reinstalled the driver from Realtek, and I haven't been able to get better than an erratic write rate (between 5-15% of GbE) and a sustained 9% read (from the server).

Old 05-16-2006, 11:55 AM   #2
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Ethereal will monitor the protocols that are traveling over the card. Which will help regardingthe amount of data that you arte passing.
Old 05-17-2006, 12:27 AM   #3
LQ Newbie
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Originally Posted by brianthegreat
Ethereal will monitor the protocols that are traveling over the card. Which will help regardingthe amount of data that you arte passing.
Well, I see that the ifconfig command gives me a total throughput, but I am looking for rate of throughput rather than total.

And I don't know if ethereal would necessarily do that (because it doesn't necessarily flag all packets coming in and out of the system).

When I was running Solaris, I was able to correlate the disk I/O meter with the link speed and throughput.

And even windows has a network monitor that can track throughput, so I would have figured that Linux (RH9) should have something that can do the same task, right?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
monitor user activity alagenchev Linux - Security 5 01-20-2006 11:02 PM
Monitor all activity to hard drive esckey2004 Linux - Security 2 01-07-2006 01:56 PM
Program to monitor wireless activity? dr_zayus69 Linux - Software 2 01-01-2006 10:55 AM
Linux system activity Monitor shiraz_1981 Linux - Software 1 10-10-2005 01:18 PM
What do you use to monitor server activity? Wonderer Slackware 8 11-02-2003 12:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration