lkml.org 
[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Speed of the network card
On Sun, Jan 07, 2001 at 04:30:30AM -0500, Sourav Ghosh wrote:

I would like to determine the banwidth the card is getting from
the network.

/proc/net/dev exports counters; you can monitor those -- I'm sure
there are perfomance program that do exactly this.

For an ethernet, it could be either 10Mbps or 100Mbps, is there
any way of knowing from inside the kernel how much is the
bandwidth the card is actually receiving from the network,
especially when it is capable of getting either 10Mbps or
100Mbps?

The kernel counts packets and bytes; you need to work out bandwidth
in userland from that.


--cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.039 / U:1.132 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site