[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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