mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wedgwood <cw@f00f.org>
To: sourav@cs.cmu.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: Speed of the network card
Date: Mon, 8 Jan 2001 01:54:21 +1300	[thread overview]
Message-ID: <20010108015421.B2575@metastasis.f00f.org> (raw)
In-Reply-To: <20010107144819.B1617@metastasis.f00f.org> <200101070930.WAA20212@mx1.clear.net.nz>
In-Reply-To: <200101070930.WAA20212@mx1.clear.net.nz>; from sourav@ux4.sp.cs.cmu.edu on Sun, Jan 07, 2001 at 04:30:30AM -0500

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/

  parent reply	other threads:[~2001-01-07 12:54 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
     [not found]   ` <200101070930.WAA20212@mx1.clear.net.nz>
2001-01-07 12:54     ` Chris Wedgwood [this message]
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=20010108015421.B2575@metastasis.f00f.org \
    --to=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®