[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Speed of the network card
> On Sat, Jan 06, 2001 at 08:20:02PM -0500, Sourav Ghosh wrote:
> I was wondering how I can determine the speed of a network device
> inside the kernel.
> what kind of network card?
> In case of ethernet, the "name" field of device structure will
> only give eth0 or something. But the speed could be either 10Mbps
> or 100Mbps.

Well, I need to clarify the question.

I would like to determine the banwidth the card is getting from
the network.
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?

> we don't have a good was on doing this sort of thing, you could try
> mii-tool though; it supports many cards
> --cw


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.070 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site