From: Sourav Ghosh <sourav@ux4.sp.cs.cmu.edu>
To: Chris Wedgwood <cw@f00f.org>
Cc: sourav@cs.cmu.edu, linux-kernel@vger.kernel.org
Subject: Re: Speed of the network card
Date: Sun, 7 Jan 2001 04:30:30 -0500 (EST) [thread overview]
Message-ID: <20010107093100Z129729-400+1338@vger.kernel.org> (raw)
In-Reply-To: <20010107144819.B1617@metastasis.f00f.org> from "Chris Wedgwood" at Jan 7, 2001 02:48:19 pm
>
> 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
--
Sourav
-
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/
next prev parent reply other threads:[~2001-01-07 9:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-07 1:20 Sourav Ghosh
2001-01-07 1:48 ` Chris Wedgwood
2001-01-07 9:30 ` Sourav Ghosh [this message]
[not found] ` <200101070930.WAA20212@mx1.clear.net.nz>
2001-01-07 12:54 ` Chris Wedgwood
2001-01-07 20:55 ` Sasi Peter
2001-01-07 13:02 Jeff Chua
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010107093100Z129729-400+1338@vger.kernel.org \
--to=sourav@ux4.sp.cs.cmu.edu \
--cc=cw@f00f.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sourav@cs.cmu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®